Skip to content

Commit 8ee764a

Browse files
committed
fix: update macOS artifact archiving and release upload steps in workflow
1 parent ec8c3f0 commit 8ee764a

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,26 @@ jobs:
5656
path: build/bin/*
5757
- name: archive application
5858
if: matrix.platform == 'macos-latest'
59-
run: zip -r VisionFlow.app.zip build/bin/VisionFlow.app/
59+
run: |
60+
cd build/bin
61+
zip -r ../../VisionFlow-macos.zip VisionFlow.app
6062
- name: upload artifacts windows
6163
if: matrix.platform == 'windows-latest'
6264
uses: actions/upload-artifact@v4
6365
with:
6466
name: VisionFlow-windows
6567
path: build/bin/*
66-
- name: Upload release
68+
- name: Upload release macOS
69+
if: matrix.platform == 'macos-latest'
70+
uses: ncipollo/release-action@v1
71+
with:
72+
artifacts: VisionFlow-macos.zip
73+
allowUpdates: true
74+
omitBody: true
75+
- name: Upload release Windows
76+
if: matrix.platform == 'windows-latest'
6777
uses: ncipollo/release-action@v1
6878
with:
69-
artifacts: build/bin/*
79+
artifacts: build/bin/VisionFlow.exe
7080
allowUpdates: true
7181
omitBody: true

0 commit comments

Comments
 (0)