Skip to content

Commit 444fcf4

Browse files
authored
Merge pull request #112 from salesforcecli/ew/json-prop-parse
Dev scripts json reference
2 parents aa89dab + 3b6d06b commit 444fcf4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/get-json-property/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Get a property from a json file using jq
44
# Examples:
55
# prop_path: version
66
# prop_path: devDependencies["@salesforce/dev-scripts"]
7-
7+
# ^ Note: double quotes needed here
88

99
inputs:
1010
path:

.github/workflows/devScriptsUpdate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
id: packageVersion
2626
with:
2727
path: "package.json"
28-
prop_path: "devDependencies.@salesforce/dev-scripts"
28+
prop_path: 'devDependencies["@salesforce/dev-scripts"]'
2929

3030
- run: echo "this repo has version is ${{ steps.packageVersion.outputs.prop }}"
3131
- run: echo "output value will be ${{ !endsWith(steps.packageVersion.outputs.prop, steps.version-info.outputs.version) }}"

0 commit comments

Comments
 (0)