Skip to content

Commit

Permalink
workflows/release: use a not-deprecated action
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw committed Aug 4, 2023
1 parent 18617c2 commit 957e6e0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@ jobs:
steps:
- name: create release
id: create_release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v1
env:
# NOTE(ww): GitHub actions cannot trigger other GitHub actions by default,
# but we need that behavior to trigger the 'publish' workflow.
# The workaround is to use a PAT instead of the default GITHUB_TOKEN.
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: ${{ contains(github.ref, 'pre') || contains(github.ref, 'rc') }}

0 comments on commit 957e6e0

Please sign in to comment.