From adda4240bb559a7d020a6c7b18500ad11aa294c5 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Wed, 12 Jul 2023 11:57:03 +0200 Subject: [PATCH] replace deprecated release action --- .github/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7a9b82..4ae8cec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file + prerelease: true + token: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }} + generate_release_notes: true \ No newline at end of file