Skip to content

Commit 4a26fda

Browse files
committed
Pushing binaries to tag
1 parent 24135c2 commit 4a26fda

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/publish.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- v*
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
build:
1013
runs-on: ubuntu-latest
@@ -67,12 +70,15 @@ jobs:
6770
--include=VERSION \
6871
--allow-read --allow-write --allow-net main.ts
6972
70-
- name: Release
73+
- uses: stefanzweifel/git-auto-commit-action@v5
74+
with:
75+
commit_message: Added binaries
76+
commit_options: --signoff
77+
file_pattern: bin
78+
79+
- name: Upload to Release
7180
uses: softprops/action-gh-release@v2
7281
with:
7382
token: ${{ secrets.JACK_GITHUB_TOKEN }}
7483
make_latest: true
75-
files: |
76-
bin/*
77-
action.yaml
78-
README.md
84+
files: bin

0 commit comments

Comments
 (0)