Skip to content

Commit b5be651

Browse files
authored
Update BuildAndRelease.yml
1 parent 2c85005 commit b5be651

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

.github/workflows/BuildAndRelease.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
echo "CK_VERSION=Automated-${{ steps.timestamp.outputs.TIMESTAMP }}" >> "$GITHUB_OUTPUT"
3434
3535
build-windows:
36-
runs-on: windows-2019
36+
runs-on: windows-latest
3737
needs: [setup-env]
3838
defaults:
3939
run:
@@ -169,13 +169,25 @@ jobs:
169169
make -j$(nproc)
170170
make install INSTALL_ROOT=AppDir
171171
172-
- name: Deploy
172+
- name: Download linuxdeploy
173173
working-directory: ${{ runner.temp }}
174174
run: |
175-
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
175+
for i in {1..5}; do
176+
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage && break
177+
echo "Download failed, retrying in 10 seconds..."
178+
sleep 10
179+
done
180+
for i in {1..5}; do
181+
wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage && break
182+
echo "Download failed, retrying in 10 seconds..."
183+
sleep 10
184+
done
176185
chmod +x linuxdeploy-x86_64.AppImage
177-
wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
178186
chmod +x linuxdeploy-plugin-qt-x86_64.AppImage
187+
188+
- name: Deploy
189+
working-directory: ${{ runner.temp }}
190+
run: |
179191
./linuxdeploy-x86_64.AppImage --appdir ${{ runner.temp }}/build/AppDir --plugin qt --output appimage
180192
181193
- name: Upload artifact

0 commit comments

Comments
 (0)