diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index daf271c..936466d 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,10 +10,11 @@ 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]