Skip to content

Commit 4a9dfeb

Browse files
committed
fix release filename clash
1 parent 4d159c6 commit 4a9dfeb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build-reusable.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
make
2727
2828
- name: Zip application bundle
29-
run: zip -r -y "MacOS/release/Kiwi8.zip" "MacOS/release/Kiwi8.app"
29+
run: zip -r -y "MacOS/release/Kiwi8-${{ github.ref_name }}-macOS.zip" "MacOS/release/Kiwi8.app"
3030

3131
- name: Upload macOS build artifact
3232
uses: actions/upload-artifact@v4
3333
with:
3434
name: Kiwi8-${{ github.ref_name }}-macOS
35-
path: MacOS/release/Kiwi8.zip
35+
path: MacOS/release/Kiwi8-${{ github.ref_name }}-macOS.zip
3636
retention-days: 7
3737

3838
build-windows:
@@ -58,11 +58,11 @@ jobs:
5858
nmake
5959
6060
- name: Create Zip Archive
61-
run: Compress-Archive -Path Windows\release\* -DestinationPath Windows\release\Kiwi8.zip
61+
run: Compress-Archive -Path Windows\release\* -DestinationPath Windows\release\Kiwi8-${{ github.ref_name }}-Windows.zip
6262

6363
- name: Upload Windows build artifact
6464
uses: actions/upload-artifact@v4
6565
with:
6666
name: Kiwi8-${{ github.ref_name }}-Windows
67-
path: Windows\release\Kiwi8.zip
67+
path: Windows\release\Kiwi8-${{ github.ref_name }}-Windows.zip
6868
retention-days: 7

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
uses: softprops/action-gh-release@v2
2121
with:
2222
files: |
23-
Kiwi8-${{ github.ref_name }}-macOS/Kiwi8.zip
24-
Kiwi8-${{ github.ref_name }}-Windows/Kiwi8.zip
23+
Kiwi8-${{ github.ref_name }}-macOS/Kiwi8-${{ github.ref_name }}-macOS.zip
24+
Kiwi8-${{ github.ref_name }}-Windows/Kiwi8-${{ github.ref_name }}-Windows.zip

0 commit comments

Comments
 (0)