Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ jobs:
test-action:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: create-json
id: create-json
uses: jsdaniell/create-json@v1.2.3
uses: jsdaniell/create-json@v1.2.4
with:
name: "test.json"
json: '{"name":"json sucessfully created!"}'
json: '{"name":"json successfully created!"}'
- run: sh ./test-json.sh
publish:
needs: [test-action]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v6
- uses: TG908/publish-github-action@v1
with:
github_token: ${{ secrets.TOKEN }}
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ and use in this way:
```yaml
- name: create-json
id: create-json
uses: jsdaniell/create-json@v1.2.3
uses: jsdaniell/create-json@v1.2.4
with:
name: "credentials.json"
json: ${{ secrets.MY_JSON }}
Expand All @@ -43,7 +43,7 @@ Or just declare a string of a json on the property `json` like:
```yaml
- name: create-json
id: create-json
uses: jsdaniell/create-json@v1.2.3
uses: jsdaniell/create-json@v1.2.4
with:
name: "new-json-file.json"
json: '{"name":"jsdaniell", "password":"mypass"}'
Expand All @@ -55,7 +55,7 @@ You also can save the json on a subdirectory using the property `dir`:
```yaml
- name: create-json
id: create-json
uses: jsdaniell/create-json@v1.2.3
uses: jsdaniell/create-json@v1.2.4
with:
name: "credentials.json"
json: ${{ secrets.CREDENTIALS_JSON }}
Expand All @@ -69,14 +69,14 @@ If you want to create more than one json files, you have to specify different ID
```yaml
- name: create-json
id: create-json-1 # First ID
uses: jsdaniell/create-json@v1.2.3
uses: jsdaniell/create-json@v1.2.4
with:
name: "credentials.json"
json: ${{ secrets.CREDENTIALS_JSON }}
dir: 'src/'
- name: create-json
id: create-json-2 # Second ID
uses: jsdaniell/create-json@v1.2.3
uses: jsdaniell/create-json@v1.2.4
with:
name: "other.json"
json: '{"name":"jsdaniell", "password":"mypass"}'
Expand All @@ -103,7 +103,7 @@ jobs:
- run: cd src && go mod vendor
- name: create-json
id: create-json
uses: jsdaniell/create-json@v1.2.3
uses: jsdaniell/create-json@v1.2.4
with:
name: "devdatatools-firebase-adminsdk.json"
json: ${{ secrets.CREDENTIALS_JSON }}
Expand All @@ -123,4 +123,4 @@ After commit and use with Heroku the file is deleted after the workflow and the

You can submit an issue or PR anytime for the improvement this action!

Version v1.2.3 (Node 20)
Version v1.2.4 (Node 24)
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ outputs:
successfully:
description: 'Feedback message of success '
runs:
using: "node20"
using: "node24"
main: "./dist/index.js"
branding:
icon: 'file-text'
Expand Down