Skip to content

Commit 80f7770

Browse files
committed
Replace archived create-release acitons with softprops/gh-release
1 parent 15323b5 commit 80f7770

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@ jobs:
2626
name: artifacts
2727
path: target/*.jar
2828
- name: Create Release
29-
uses: actions/create-release@v1 # NOTE: action is unmaintained and repo archived
29+
uses: softprops/action-gh-release@v1
3030
if: startsWith(github.ref, 'refs/tags/')
31-
env:
32-
GITHUB_TOKEN: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }} # release as "cryptobot"
3331
with:
34-
tag_name: ${{ github.ref }}
35-
release_name: Release ${{ github.ref }}
36-
prerelease: true
32+
prerelease: true
33+
token: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }}
34+
generate_release_notes: true

0 commit comments

Comments
 (0)