From ae4b261372ffe3f278e6e5bb0e9063a2e73aeee0 Mon Sep 17 00:00:00 2001 From: scarf Date: Mon, 11 Mar 2024 09:48:34 +0900 Subject: [PATCH] ci: `actions/create-release` to `softprops/action-gh-release` actions/create-release was archived and was causing node16 deprecation warning. --- .github/workflows/manual-release.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/manual-release.yml b/.github/workflows/manual-release.yml index 44c9b9e10057..a0ee921cf777 100644 --- a/.github/workflows/manual-release.yml +++ b/.github/workflows/manual-release.yml @@ -52,13 +52,13 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create release id: create_release - uses: actions/create-release@v1 + uses: softprops/action-gh-release@v2.0.2 if: ${{ steps.tag_check.outputs.exists == 'false' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ steps.generate_env_vars.outputs.tag_name }} - release_name: ${{ steps.generate_env_vars.outputs.release_name }} + name: ${{ steps.generate_env_vars.outputs.release_name }} body: | ${{ steps.build_changelog.outputs.changelog }} These are the outputs for the manually triggered build of commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ff849c98a035..16f241448add 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,12 +74,12 @@ jobs: - name: Create release if: ${{ steps.tag_check.outputs.exists == 'false' }} id: create_release - uses: actions/create-release@v1 + uses: softprops/action-gh-release@v2.0.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ needs.metadata.outputs.tag_name }} - release_name: ${{ needs.metadata.outputs.release_name }} + name: ${{ needs.metadata.outputs.release_name }} body: | ${{ steps.build_changelog.outputs.changelog }} These are the outputs for the experimental build of commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})