Skip to content

Commit 1a87e17

Browse files
committed
support immutable releases
1 parent 59b92bb commit 1a87e17

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,14 @@ jobs:
6666
uses: actions/download-artifact@v4
6767
with:
6868
path: artifacts
69+
merge-multiple: true
6970

7071
- name: Create Release
71-
uses: softprops/action-gh-release@v1
72-
with:
73-
files: artifacts/**/*
74-
generate_release_notes: true
75-
draft: false
76-
prerelease: false
72+
run: |
73+
gh release create ${{ github.ref_name }} \
74+
-t "${{ github.ref_name }}" \
75+
--generate-notes \
76+
--latest \
77+
artifacts/*
7778
env:
7879
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)