mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-02 20:11:15 +00:00
👷 chore: try max 10 times to package
This commit is contained in:
parent
703b5f98b8
commit
27b3c74757
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@ -122,7 +122,20 @@ jobs:
|
|||||||
if: ${{ !matrix.n3ds }}
|
if: ${{ !matrix.n3ds }}
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
cpack .
|
success=0
|
||||||
|
max_tries=10
|
||||||
|
for i in $(seq $max_tries); do
|
||||||
|
cpack . && success=1
|
||||||
|
if test $success = 1; then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
echo "Package creation failed. Sleep 1 second and try again."
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
if test $success = 0; then
|
||||||
|
echo "Package creation failed after $max_tries attempts."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Install linuxdeploy
|
- name: Install linuxdeploy
|
||||||
if: ${{ matrix.linux }}
|
if: ${{ matrix.linux }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user