Skip to content

Commit

Permalink
Merge pull request #13 from futabooo/ix-release-workflow
Browse files Browse the repository at this point in the history
手動でGitHubRelaseを作成するGitHubActionsを修正
  • Loading branch information
futabooo authored Apr 5, 2024
2 parents 0a616c7 + 8d3cc2a commit f9e83d9
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 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,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]
Expand Down

0 comments on commit f9e83d9

Please sign in to comment.