Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
futabooo committed Apr 5, 2024
1 parent 0a616c7 commit a14de1e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: release

on:
workflow_dispatch:
inputs:
tag:
description: "The tag name of the release"
required: true

jobs:
check:
Expand All @@ -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
Expand Down

0 comments on commit a14de1e

Please sign in to comment.