ci: clear package cache before mkarchiso, and retry if fails
This commit is contained in:
parent
11d5f1584b
commit
499a16637e
1 changed files with 2 additions and 1 deletions
|
@ -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/*
|
||||
|
|
Loading…
Reference in a new issue