Upgraded to v9.1 (#150)
Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
This commit is contained in:
18
README.md
18
README.md
@@ -55,7 +55,7 @@ jobs:
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v9
|
||||
uses: tj-actions/changed-files@v9.1
|
||||
|
||||
- name: List all modified files
|
||||
run: |
|
||||
@@ -113,11 +113,11 @@ jobs:
|
||||
|
||||
- name: Get changed files using defaults
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v9
|
||||
uses: tj-actions/changed-files@v9.1
|
||||
|
||||
- name: Get changed files using a comma separator
|
||||
id: changed-files-comma
|
||||
uses: tj-actions/changed-files@v9
|
||||
uses: tj-actions/changed-files@v9.1
|
||||
with:
|
||||
separator: ","
|
||||
|
||||
@@ -139,7 +139,7 @@ jobs:
|
||||
|
||||
- name: Get specific changed files
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v9
|
||||
uses: tj-actions/changed-files@v9.1
|
||||
with:
|
||||
files: |
|
||||
my-file.txt
|
||||
@@ -162,14 +162,14 @@ jobs:
|
||||
|
||||
- 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@v9
|
||||
uses: tj-actions/changed-files@v9.1
|
||||
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@v9
|
||||
uses: tj-actions/changed-files@v9.1
|
||||
with:
|
||||
files_from_source_file: |
|
||||
test/changed-files-list.txt
|
||||
@@ -178,13 +178,13 @@ jobs:
|
||||
|
||||
- name: Use a different commit SHA
|
||||
id: changed-files-custom-sha
|
||||
uses: tj-actions/changed-files@v9
|
||||
uses: tj-actions/changed-files@v9.1
|
||||
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@v9
|
||||
uses: tj-actions/changed-files@v9.1
|
||||
with:
|
||||
base_sha: "2096ed0"
|
||||
|
||||
@@ -201,7 +201,7 @@ jobs:
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v9
|
||||
uses: tj-actions/changed-files@v9.1
|
||||
|
||||
- name: Pre-commit
|
||||
uses: pre-commit/action@v2.0.0
|
||||
|
||||
Reference in New Issue
Block a user