Skip to content

Commit eb84cbc

Browse files
authored
Update README.md (#11)
* Update README.md * fix test * attempt at fix * Update README.md
1 parent 7744c6e commit eb84cbc

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.github/workflows/test.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"input": {
3+
"test": {
4+
"type": "string",
5+
"description": "test"
6+
}
7+
}
8+
}

.github/workflows/test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ jobs:
2121
- uses: actions/checkout@v2
2222
- uses: ./
2323
with:
24-
milliseconds: 1000
24+
file:${{ github.workspace }}/.github/workflows/test.json
25+
fields: "{\"input.test.type\": \"new value\"}"

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
- uses: actions/checkout@v3
4242
4343
- name: Update package.json version
44-
uses: jossef/action-set-json-field@v2.1
44+
uses: restackio/update-json-file-action@v1.1
4545
with:
4646
file: package.json
47-
fields: "{'version': '1.2.4'}"
47+
fields: "{\"input.test.type\": \"new value\"}"
4848
```

0 commit comments

Comments
 (0)