Skip to content

Commit c9017a6

Browse files
authored
Fix release (#4)
1 parent 51bb0f5 commit c9017a6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
go build && mv chkbundle "chkbundle-${GOOS}-${GOARCH}"
4444
sha1sum chkbundle-* > chkbundle.sum
4545
46-
- name: Publish artifact
46+
- name: Publish files to release
4747
if: github.event_name == 'release'
48-
uses: actions/upload-artifact@v4
49-
with:
50-
path: |
51-
chkbundle-*
52-
chkbundle.sum
48+
env:
49+
GITHUB_TOKEN: ${{ github.TOKEN }}
50+
run: |
51+
gh release upload ${{github.event.release.tag_name}} chkbundle-*
52+
gh release upload ${{github.event.release.tag_name}} chkbundle.sum

0 commit comments

Comments
 (0)