Update README.md
This commit is contained in:
parent
283e1f384e
commit
c4d765fc77
20
README.md
20
README.md
@ -63,7 +63,7 @@ jobs:
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v3.0.0
|
||||
uses: tj-actions/changed-files@v13
|
||||
|
||||
- name: List all changed files
|
||||
run: |
|
||||
@ -140,11 +140,11 @@ Support this project with a :star:
|
||||
|
||||
- name: Get changed files using defaults
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v3.0.0
|
||||
uses: tj-actions/changed-files@v13
|
||||
|
||||
- name: Get changed files using a comma separator
|
||||
id: changed-files-comma
|
||||
uses: tj-actions/changed-files@v3.0.0
|
||||
uses: tj-actions/changed-files@v13
|
||||
with:
|
||||
separator: ","
|
||||
|
||||
@ -166,7 +166,7 @@ Support this project with a :star:
|
||||
|
||||
- name: Get specific changed files
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v3.0.0
|
||||
uses: tj-actions/changed-files@v13
|
||||
with:
|
||||
files: |
|
||||
my-file.txt
|
||||
@ -205,14 +205,14 @@ Support this project with a :star:
|
||||
|
||||
- name: Use a source file or list of file(s) to populate to files input.
|
||||
id: changed-files-specific-source-file
|
||||
uses: tj-actions/changed-files@v3.0.0
|
||||
uses: tj-actions/changed-files@v13
|
||||
with:
|
||||
files_from_source_file: |
|
||||
test/changed-files-list.txt
|
||||
|
||||
- name: Use a source file or list of file(s) to populate to files input and optionally specify more files.
|
||||
id: changed-files-specific-source-file-and-specify-files
|
||||
uses: tj-actions/changed-files@v3.0.0
|
||||
uses: tj-actions/changed-files@v13
|
||||
with:
|
||||
files_from_source_file: |
|
||||
test/changed-files-list.txt
|
||||
@ -221,13 +221,13 @@ Support this project with a :star:
|
||||
|
||||
- name: Use a different commit SHA
|
||||
id: changed-files-custom-sha
|
||||
uses: tj-actions/changed-files@v3.0.0
|
||||
uses: tj-actions/changed-files@v13
|
||||
with:
|
||||
sha: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Use a different base SHA
|
||||
id: changed-files-custom-base-sha
|
||||
uses: tj-actions/changed-files@v3.0.0
|
||||
uses: tj-actions/changed-files@v13
|
||||
with:
|
||||
base_sha: "2096ed0"
|
||||
|
||||
@ -239,7 +239,7 @@ Support this project with a :star:
|
||||
|
||||
- name: Run changed-files with defaults on the dir1
|
||||
id: changed-files-for-dir1
|
||||
uses: tj-actions/changed-files@v3.0.0
|
||||
uses: tj-actions/changed-files@v13
|
||||
with:
|
||||
path: dir1
|
||||
|
||||
@ -251,7 +251,7 @@ Support this project with a :star:
|
||||
|
||||
- name: Run changed-files using the last commit on the remote branch
|
||||
id: changed-files-since-last-remote-commit
|
||||
uses: tj-actions/changed-files@v3.0.0
|
||||
uses: tj-actions/changed-files@v13
|
||||
with:
|
||||
since_last_remote_commit: "true"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user