Skip to content

Commit

Permalink
Replace deprecated actions/create-release action by softprops/action-…
Browse files Browse the repository at this point in the history
…gh-release

(cherry picked from commit 23e221d)
  • Loading branch information
infeo committed Feb 3, 2023
1 parent 9f83db2 commit 226b86c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ jobs:
name: artifacts
path: target/*.jar
- name: Create Release
uses: actions/create-release@v1 #NOTE: action is not maintained and repo is archived
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }} # release as "cryptobot"
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
prerelease: true
prerelease: true
token: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }}
generate_release_notes: true

0 comments on commit 226b86c

Please sign in to comment.