From e8e634c4793490a33098c1605510c0b5cfe5cb8c Mon Sep 17 00:00:00 2001 From: Damien Lachaume <135982616+dlachaume@users.noreply.github.com> Date: Fri, 11 Oct 2024 18:22:37 +0200 Subject: [PATCH] ci: use a new action in the `create-pre-release` job This replaces the unmaintained `marvinpinto/action-automatic-releases` action and handles the update of the release body, previously done by the `tubone24/update_release` action. --- .github/workflows/pre-release.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 9b977d7cc70..c7f0da86a08 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -76,23 +76,15 @@ jobs: compatibility-table: '{ "release-mainnet": "⛔", "release-preprod": "⛔", "pre-release-preview": "✔", "testing-preview": "⛔", "testing-sanchonet": "⛔" }' - name: Create pre-release ${{ github.ref_name }} - uses: marvinpinto/action-automatic-releases@latest + uses: softprops/action-gh-release@v2 with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - automatic_release_tag: ${{ github.ref_name }} + token: ${{ secrets.GITHUB_TOKEN }} + tag_name: ${{ github.ref_name }} prerelease: true - title: Mithril v${{ github.ref_name }} + name: Mithril v${{ github.ref_name }} files: package/* - - - name: Update release body with release notes addon - # specific version since this action does not support giving only the major number - uses: tubone24/update_release@v1.3.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAG_NAME: ${{ github.ref_name }} - with: - is_append_body: true body_path: ./release-notes-addon.txt + append_body: true build-push-docker: runs-on: ubuntu-22.04