Skip to content

Commit

Permalink
CI: fix release drafting with updated Mac artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
DeinAlptraum committed Jun 21, 2024
1 parent 0868e1b commit 5d1b59e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
qmake6 UltraStar-Creator.pro
make -j$${{ steps.cpu-cores.outputs.count }}
cd ../bin/release
mv UltraStar-Creator.dmg MAC-UltraStar-Creator.dmg
mv UltraStar-Creator.dmg MAC-${{ env.arch }}-UltraStar-Creator.dmg
- name: Upload Portable Artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -130,7 +130,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: MAC-${{ env.arch }}-UltraStar-Creator-image
path: bin/release/MAC-UltraStar-Creator.dmg
path: bin/release/MAC-${{ env.arch }}-UltraStar-Creator.dmg
if-no-files-found: error

build_linux:
Expand Down Expand Up @@ -190,11 +190,12 @@ jobs:
pattern: "*"
- name: Compress Portable Folders
run: |
zip -r MAC-UltraStar-Creator-portable.zip MAC-UltraStar-Creator-portable
zip -r MAC-x86-UltraStar-Creator-portable.zip MAC-x86-UltraStar-Creator-portable
zip -r MAC-ARM-UltraStar-Creator-portable.zip MAC-ARM-UltraStar-Creator-portable
zip -r WIN64-UltraStar-Creator-portable.zip WIN64-UltraStar-Creator-portable
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "LINUX-UltraStar-Creator-appimage/*, MAC-UltraStar-Creator-image/*, MAC-UltraStar-Creator-portable.zip, WIN64-UltraStar-Creator-installer/*, WIN64-UltraStar-Creator-portable.zip"
artifacts: "LINUX-UltraStar-Creator-appimage/*, MAC-x86-UltraStar-Creator-image/*, MAC-x86-UltraStar-Creator-portable.zip, MAC-ARM-UltraStar-Creator-image/*, MAC-ARM-UltraStar-Creator-portable.zip, WIN64-UltraStar-Creator-installer/*, WIN64-UltraStar-Creator-portable.zip"
draft: true
artifactErrorsFailBuild: true

0 comments on commit 5d1b59e

Please sign in to comment.