Skip to content

Commit 7ec3793

Browse files
committed
fix: correctly generate and upload GitHub release assets
1 parent edfd476 commit 7ec3793

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ jobs:
2626
pnpm zip:firefox
2727
2828
- name: Generate GitHub Release with Changelog
29+
run: pnpx changelogithub
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
33+
- name: Upload assets to release
2934
run: |
30-
pnpx changelogithub
31-
gh release upload ${{ github.ref_name }} \
32-
./.output/*-chrome.zip#"UCAN Devtools - Chrome Ext" \
33-
./.output/*-firefox.zip#"UCAN Devtools - Firefox Ext"
35+
gh release upload ${{ github.ref_name }} ./.output/*-chrome.zip ./.output/*-firefox.zip
3436
env:
3537
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)