Skip to content

Commit

Permalink
Small CI fixes (#1773)
Browse files Browse the repository at this point in the history
* Dont delete release description when uploading artifacts

* Add retry create dmg step on macOS CI
  • Loading branch information
Pedro-Beirao authored Jan 20, 2025
1 parent f2eff2f commit d6ffbe3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,17 @@ jobs:
run: |
cd build
dylibbundler -od -b -x slade.app/Contents/MacOS/slade -d slade.app/Contents/MacOS/libs -p @executable_path/libs
create-dmg --app-drop-link 10 10 ./slade_${{ matrix.config.package_name }}_${{ github.ref_name }}.dmg ./slade.app
for i in {1..10};
do
if create-dmg --app-drop-link 10 10 ./slade_${{ matrix.config.package_name }}_${{ github.ref_name }}.dmg ./slade.app;
then
echo "slade_${{ matrix.config.package_name }}_${{ github.ref_name }}.dmg created"
break
else
echo "create-dmg failed $i"
fi
done
- name: Upload Artifacts
if: ${{ matrix.config.package_name }}
Expand All @@ -83,4 +93,5 @@ jobs:
with:
name: ${{ github.ref_name }}
allowUpdates: true
omitBodyDuringUpdate: true
artifacts: ${{ matrix.config.artifact-path }}

0 comments on commit d6ffbe3

Please sign in to comment.