Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdaniell authored Dec 7, 2022
1 parent 6c50949 commit dd740fa
Showing 1 changed file with 7 additions and 7 deletions.
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/[email protected].1
uses: jsdaniell/[email protected].2
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/[email protected].1
uses: jsdaniell/[email protected].2
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/[email protected].1
uses: jsdaniell/[email protected].2
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/[email protected].1
uses: jsdaniell/[email protected].2
with:
name: "credentials.json"
json: ${{ secrets.CREDENTIALS_JSON }}
dir: 'src/'
- name: create-json
id: create-json-2 # Second ID
uses: jsdaniell/[email protected].1
uses: jsdaniell/[email protected].2
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/[email protected].1
uses: jsdaniell/[email protected].2
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.1 (Node 16)
Version v1.2.2 (Node 16)

0 comments on commit dd740fa

Please sign in to comment.