File tree 1 file changed +4
-4
lines changed
assets/inject/semver-workflow/.github/workflows
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ name: CI & Release
4
4
# Workflow name based on selected inputs. Fallback to default Github naming when expression evaluates to empty string
5
5
run-name : >-
6
6
${{
7
- inputs.release && inputs.test && 'Build ➤ Test ➤ Publish to NPM' ||
8
- inputs.release && !inputs.test && 'Build ➤ Skip Tests ➤ Publish to NPM' ||
9
- github.event_name == 'workflow_dispatch' && inputs.test && 'Build ➤ Test' ||
10
- github.event_name == 'workflow_dispatch' && !inputs.test && 'Build ➤ Skip Tests' ||
7
+ inputs.release && inputs.test && format( 'Build {0} ➤ Test ➤ Publish to NPM', github.ref_name) ||
8
+ inputs.release && !inputs.test && format( 'Build {0} ➤ Skip Tests ➤ Publish to NPM', github.ref_name) ||
9
+ github.event_name == 'workflow_dispatch' && inputs.test && format( 'Build {0} ➤ Test', github.ref_name) ||
10
+ github.event_name == 'workflow_dispatch' && !inputs.test && format( 'Build {0} ➤ Skip Tests', github.ref_name) ||
11
11
''
12
12
}}
13
13
You can’t perform that action at this time.
0 commit comments