Skip to content

Commit a7f0774

Browse files
committed
Fix release workflow
1 parent f4b0008 commit a7f0774

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/signaloid-python.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,10 @@ jobs:
9090
path: |
9191
./dist/*
9292
93-
- name: Upload to release
93+
# Upload the artifact to the GitHub release
94+
- name: Upload Release Asset
9495
if: ${{ github.event_name == 'release' && startsWith(matrix.args.host, 'ubuntu') }}
95-
run: gh release create "v${{ github.event.release.tag_name }}" dist/*
96+
run: |
97+
gh release upload ${{ github.event.release.tag_name }} dist/*
9698
env:
97-
GH_TOKEN: ${{ github.token }}
99+
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)