Skip to content

Commit ee21dce

Browse files
authored
chore: fix manual flow
1 parent e7c9668 commit ee21dce

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/create-release.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
release:
1717
description: 'Release Version'
1818
default: 'latest'
19+
required: true
1920

2021
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2122
jobs:
@@ -39,11 +40,8 @@ jobs:
3940

4041
- name: Get Specified Release
4142
id: get_specified_release
42-
if: ${{ failure() }}
43+
if: github.event.inputs.release != 'latest'
4344
run: echo "release=${{ github.event.inputs.release }}" >> "$GITHUB_OUTPUT"
44-
45-
- name: Check Release
46-
run: echo release
4745

4846
create_release:
4947
# The type of runner that the job will run on

0 commit comments

Comments
 (0)