From a14de1e2c35d5c615536e4471b7728f2cef88c85 Mon Sep 17 00:00:00 2001 From: futabooo Date: Sat, 6 Apr 2024 00:12:30 +0900 Subject: [PATCH 1/3] fix --- .github/workflows/release.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index daf271c..4a5b2ec 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -2,10 +2,6 @@ name: release on: workflow_dispatch: - inputs: - tag: - description: "The tag name of the release" - required: true jobs: check: @@ -14,7 +10,8 @@ jobs: permissions: {} steps: - name: Check ref - if: !startsWith(github.ref, 'refs/tags/') + if: | + !startsWith(github.ref, 'refs/tags/') run: | echo "This action should only be run on tag" exit 1 From cd4f527d94ebad291cd956ae89591469e07e5058 Mon Sep 17 00:00:00 2001 From: futabooo Date: Sat, 6 Apr 2024 00:16:15 +0900 Subject: [PATCH 2/3] fix --- .github/workflows/release.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4a5b2ec..7b30c0f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,11 +10,10 @@ jobs: permissions: {} steps: - name: Check ref - if: | - !startsWith(github.ref, 'refs/tags/') - run: | - echo "This action should only be run on tag" - exit 1 + if: !startsWith(github.ref, 'refs/tags/') + run: | + echo "This action should only be run on tag" + exit 1 release: needs: [check] From 8d3cc2afd0c8a090ba5f312c7641cbb16962a12c Mon Sep 17 00:00:00 2001 From: futabooo Date: Sat, 6 Apr 2024 00:19:51 +0900 Subject: [PATCH 3/3] fix --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7b30c0f..936466d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,7 +10,8 @@ jobs: permissions: {} steps: - name: Check ref - if: !startsWith(github.ref, 'refs/tags/') + if: | + !startsWith(github.ref, 'refs/tags/') run: | echo "This action should only be run on tag" exit 1