Skip to content

Commit

Permalink
replace deprecated release action
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Feb 2, 2024
1 parent 2cd69e2 commit b64e595
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 @@ -41,11 +41,9 @@ jobs:
name: artifacts
path: target/*.jar
- name: Create Release
uses: actions/create-release@v1 # NOTE: action is unmaintained and repo 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 b64e595

Please sign in to comment.