Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Mar 27, 2023
1 parent c3e1f46 commit 1e674fc
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,21 +319,20 @@ See [outputs](#outputs) for a list of all available outputs.
</details>

<details>
<summary>Get all changed files and write the outputs to a json file</summary>
<summary>Get all changed files and write the outputs to a txt file</summary>

```yaml
...

- name: Get changed files and write the outputs to a json file
id: changed-files-write-output-files-json
- name: Get changed files and write the outputs to a txt file
id: changed-files-write-output-files-txt
uses: ./
with:
json: true
write_output_files: true

- name: Verify the contents of the .github/added_files.json file
- name: Verify the contents of the .github/outputs/added_files.txt file
run: |
cat .github/added_files.json
cat .github/outputs/added_files.txt
...
```

Expand All @@ -342,20 +341,21 @@ See [action.yml](action.yml#L264) for a list of all available keys.
</details>

<details>
<summary>Get all changed files and write the outputs to a txt file</summary>
<summary>Get all changed files and write the outputs to a json file</summary>

```yaml
...

- name: Get changed files and write the outputs to a txt file
id: changed-files-write-output-files-txt
- name: Get changed files and write the outputs to a json file
id: changed-files-write-output-files-json
uses: ./
with:
json: true
write_output_files: true

- name: Verify the contents of the .github/added_files.txt file
- name: Verify the contents of the .github/outputs/added_files.json file
run: |
cat .github/added_files.txt
cat .github/outputs/added_files.json
...
```

Expand Down

0 comments on commit 1e674fc

Please sign in to comment.