Skip to content

Commit

Permalink
ci(release): replace deprecated gh release action
Browse files Browse the repository at this point in the history
The actions/create-release is no longer maintained. This commit replaces
it with the softprops/action-gh-release action which is recommended by
as a replacement by actions/create-release.

See also:
- https://github.com/actions/create-release
- https://github.com/marketplace/actions/gh-release
  • Loading branch information
dviererbe committed Mar 18, 2024
1 parent deb6b71 commit f30083d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:

- name: Create Release
id: create_release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Version ${{ github.ref }}
name: Version ${{ github.ref }}
body: |
Changes in this Release
- First Change
Expand Down

0 comments on commit f30083d

Please sign in to comment.