From b64e59599167600fcdb00587be2c4fa58f28b62f Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Fri, 2 Feb 2024 10:39:33 +0100 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 665adc5..e5b0751 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file + prerelease: true + token: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }} + generate_release_notes: true \ No newline at end of file