Skip to content

Commit 046c2a7

Browse files
Use softprops/action-gh-release instead of action/create-release
1 parent ac0f862 commit 046c2a7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,13 @@ jobs:
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535
- name: Create Release
36-
uses: actions/create-release@v1
36+
uses: softprops/action-gh-release@v2
3737
with:
3838
tag_name: ${{ steps.nextVersion.outputs.nextTag }}
39-
release_name: ${{ steps.nextVersion.outputs.nextTag }}
39+
name: ${{ steps.nextVersion.outputs.nextTag }}
4040
prerelease: ${{ steps.nextVersion.outputs.isPrerelease }}
41-
commitish: ${{ steps.commit.outputs.commitish }}
42-
env:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
target_commitish: ${{ steps.commit.outputs.commitish }}
42+
token: ${{ secrets.GITHUB_TOKEN }}
4443

4544
dispatch:
4645
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)