@sanity/plugin-kit 2.1.16 → 2.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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
|
|
package/lib/package.json
CHANGED