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 Jul 12, 2023
1 parent 948faea commit adda424
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 @@ -24,11 +24,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 adda424

Please sign in to comment.