Skip to content

Commit db13e63

Browse files
committed
update release action
1 parent c600d62 commit db13e63

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,10 @@ jobs:
1111
runs-on: ubuntu-24.04
1212
steps:
1313
- uses: actions/checkout@v4
14+
- uses: softprops/action-gh-release@v2
15+
if: github.ref_type == 'tag'
1416
with:
15-
fetch-depth: 0
16-
- uses: heinrichreimer/github-changelog-generator-action@v2
17-
id: changelog
18-
with:
19-
token: ${{ secrets.GITHUB_TOKEN }}
20-
- uses: ncipollo/release-action@v1
21-
with:
22-
token: ${{ secrets.GITHUB_TOKEN }}
23-
allowUpdates: true
17+
generate_release_notes: true
2418
prerelease: ${{ contains(github.ref, '-rc') }}
25-
body: |
26-
${{ steps.changelog.outputs.changelog }}
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)