mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-08 13:28:41 -06:00
git: Retry snap installation a few times in case of network issues
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -1096,7 +1096,14 @@ jobs:
|
||||
- name: ⬇️ Install setup dependencies
|
||||
run: |
|
||||
sudo apt update && sudo apt install -y git curl snapd ccache
|
||||
sudo snap install snapcraft --classic
|
||||
|
||||
for i in $(seq 1 5); do
|
||||
if sudo snap install snapcraft --classic; then
|
||||
break;
|
||||
fi
|
||||
echo "Retrying snap install..."
|
||||
sleep 10
|
||||
done
|
||||
|
||||
- name: 🧰 Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user