github-action-json-property
github-action-json-property copied to clipboard
☕Simple GitHub Action to read a specified property from a JSON file.
Basically the same as [this](https://github.com/notiz-dev/github-action-json-property/pull/9), but with minor changes, and removed package-lock.json.
Fixes GitHub warning:  > Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: notiz-dev/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
After the version 0.1.20 of the `notiz-dev/github-action-json-property` action has been released, we experience a different behavior of the `.prop` property which causes our CI jobs to fail. The value returned...
It doesn't seem to be possible to access values whose path includes arrays. ```json { "foo":["bar"] } ``` Ideally, the `prop_path` = `foo[0]` should return the value `bar`.