We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa89dab + 3b6d06b commit 444fcf4Copy full SHA for 444fcf4
2 files changed
.github/actions/get-json-property/action.yml
@@ -4,7 +4,7 @@ description: Get a property from a json file using jq
4
# Examples:
5
# prop_path: version
6
# prop_path: devDependencies["@salesforce/dev-scripts"]
7
-
+# ^ Note: double quotes needed here
8
9
inputs:
10
path:
.github/workflows/devScriptsUpdate.yml
@@ -25,7 +25,7 @@ jobs:
25
id: packageVersion
26
with:
27
path: "package.json"
28
- prop_path: "devDependencies.@salesforce/dev-scripts"
+ prop_path: 'devDependencies["@salesforce/dev-scripts"]'
29
30
- run: echo "this repo has version is ${{ steps.packageVersion.outputs.prop }}"
31
- run: echo "output value will be ${{ !endsWith(steps.packageVersion.outputs.prop, steps.version-info.outputs.version) }}"
0 commit comments