ci: clear package cache before mkarchiso, and retry if fails

This commit is contained in:
Rudra Saraswat 2024-06-02 12:42:24 +00:00
parent 11d5f1584b
commit 499a16637e

View file

@ -22,7 +22,8 @@ stages: # List of stages for jobs, and their order of execution
build-job: # This job runs in the build stage, which runs first.
stage: build
script:
- mkarchiso -v -w workdir/ -o out/ .
- pacman -Scc
- mkarchiso -v -w workdir/ -o out/ . || mkarchiso -v -w workdir/ -o out/ .
artifacts:
paths:
- out/*