Skip to content

Commit 9a8d971

Browse files
committed
Fix release asset names and upload
1 parent 79cd6f4 commit 9a8d971

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,11 @@ jobs:
6464
tar -czf ../../zigchat-${{ runner.os }}.tar.gz *
6565
fi
6666
67-
- name: Attach to GitHub Release (Windows)
67+
- name: Upload Release Assets
6868
uses: softprops/action-gh-release@v2
69-
if: startsWith(github.ref, 'refs/tags/') && startsWith(matrix.os, 'windows')
69+
if: startsWith(github.ref, 'refs/tags/')
7070
with:
71-
files: zigchat-${{ runner.os }}.zip
72-
73-
- name: Attach to GitHub Release (Unix)
74-
uses: softprops/action-gh-release@v2
75-
if: startsWith(github.ref, 'refs/tags/') && !startsWith(matrix.os, 'windows')
76-
with:
77-
files: zigchat-${{ runner.os }}.tar.gz
71+
files: |
72+
zigchat-*.zip
73+
zigchat-*.tar.gz
74+
fail_on_unmatched_files: false

0 commit comments

Comments
 (0)