From 0df1f7b807c9ff69127f407b41bc9e3de6bc7282 Mon Sep 17 00:00:00 2001 From: yanorei32 Date: Thu, 30 May 2024 01:20:55 +0900 Subject: [PATCH] Switch marvinpinto/action-automatic-releases@latest to softprops/action-gh-release@v2.0.5 --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4a5b3e..e5306c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,21 +36,20 @@ jobs: PATH="./bin/:$PATH" ./build.sh - name: pre-release - uses: "marvinpinto/action-automatic-releases@latest" + uses: softprops/action-gh-release@v2.0.5 + if: "! startsWith(github.ref, 'refs/tags/')" with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "latest" + tag_name: "latest" prerelease: true - title: "Development Build" + name: "Development Build" files: | target/* resources.tar - name: tagged-release - uses: "marvinpinto/action-automatic-releases@latest" + uses: softprops/action-gh-release@v2.0.5 if: startsWith(github.ref, 'refs/tags/') with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false files: | target/*