We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e720bd commit f7ae24bCopy full SHA for f7ae24b
.github/workflows/main.yml
@@ -1,6 +1,16 @@
1
---
2
name: CI & Release
3
4
+# Workflow name based on selected inputs. Fallback to default Github naming when expression evaluates to empty string
5
+run-name: >-
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' ||
11
+ ''
12
+ }}
13
+
14
on:
15
# Build on pushes branches that have a PR (including drafts)
16
pull_request:
0 commit comments