Skip to content

Commit a398bd9

Browse files
committed
workflows/release: combine release steps to support immutability
1 parent 9d0b871 commit a398bd9

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ jobs:
1818
runs-on: ubuntu-latest
1919
permissions:
2020
contents: write
21-
env:
22-
GH_TOKEN: ${{github.token}}
23-
TAG: ${{github.event.inputs.tag}}
2421
steps:
2522
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2623
with:
@@ -33,8 +30,8 @@ jobs:
3330
path: bootstrap-binaries
3431
merge-multiple: true
3532

36-
- name: Push tag
37-
run: gh release create "$TAG" --generate-notes
38-
39-
- name: Upload to GitHub Releases
40-
run: gh release upload "$TAG" bootstrap-binaries/*.tar.gz
33+
- name: Create release
34+
run: gh release create "$TAG" --generate-notes bootstrap-binaries/*.tar.gz
35+
env:
36+
GH_TOKEN: ${{github.token}}
37+
TAG: ${{github.event.inputs.tag}}

0 commit comments

Comments
 (0)