Upgraded to V35 (#1053)

Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
This commit is contained in:
Tonye Jack
2023-03-28 12:55:26 -06:00
committed by GitHub
parent e9b5807e92
commit 08cde2a468
2 changed files with 54 additions and 37 deletions

View File

@@ -94,7 +94,7 @@ jobs:
# Example 1
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
# with:
@@ -109,7 +109,7 @@ jobs:
# Example 2
- name: Get changed files in the docs folder
id: changed-files-specific
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
files: docs/*.{js,html} # Alternatively using: `docs/**` or `docs`
@@ -122,7 +122,7 @@ jobs:
# Example 3
- name: Get all changed *.js file(s) or any file in the static folder excluding the docs folder
id: changed-files-excluded
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
files: |
**/*.js
@@ -254,7 +254,7 @@ Using this versioning convention helps ensure that users can easily identify and
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
...
```
@@ -267,7 +267,7 @@ Using this versioning convention helps ensure that users can easily identify and
...
- name: Get all changed files and use a comma separator in the output
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
separator: ","
...
@@ -284,7 +284,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
- name: List all added files
run: |
@@ -305,7 +305,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
- name: Run a step if my-file.txt was modified
if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt')
@@ -370,7 +370,7 @@ See [action.yml](action.yml#L264) for a list of all available keys.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
files: |
my-file.txt
@@ -393,7 +393,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files
id: changed-files-specific
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
files: |
my-file.txt
@@ -440,7 +440,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files using a source file or list of file(s) to populate to files input.
id: changed-files-specific-source-file
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
files_from_source_file: test/changed-files-list.txt
...
@@ -457,7 +457,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files using 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@v35
uses: tj-actions/changed-files@V35
with:
files_from_source_file: |
test/changed-files-list.txt
@@ -478,7 +478,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files using a different SHA
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
sha: ${{ github.event.pull_request.head.sha }}
...
@@ -495,7 +495,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files using a different base SHA
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
base_sha: ${{ github.event.pull_request.base.sha }}
...
@@ -527,11 +527,11 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
- name: Get changed files in the .github folder
id: changed-files-specific
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
base_sha: ${{ steps.get-base-sha.outputs.base_sha }}
files: .github/**
@@ -561,7 +561,7 @@ See [inputs](#inputs) for more information.
- name: Run changed-files with defaults in dir1
id: changed-files-for-dir1
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
path: dir1
@@ -584,7 +584,7 @@ See [inputs](#inputs) for more information.
...
- name: Run changed-files with quotepath disabled
id: changed-files-quotepath
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
quotepath: "false"
@@ -623,7 +623,7 @@ See [inputs](#inputs) for more information.
- name: Run changed-files with the commit of the last successful test workflow run
id: changed-files-base-sha-push
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
...
@@ -650,7 +650,7 @@ See [inputs](#inputs) for more information.
- name: Run changed-files with the commit of the last successful test workflow run on main
id: changed-files-base-sha-pull-request
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }}
...
@@ -674,7 +674,7 @@ See [inputs](#inputs) for more information.
...
- name: Run changed-files with dir_names
id: changed-files-dir-names
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
dir_names: "true"
...
@@ -691,7 +691,7 @@ See [inputs](#inputs) for more information.
...
- name: Run changed-files with json output
id: changed-files-json
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
json: "true"
...
@@ -708,13 +708,13 @@ See [inputs](#inputs) for more information.
...
- name: Get changed-files since 2022-08-19
id: changed-files-since
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
since: "2022-08-19"
- name: Get changed-files until 2022-08-20
id: changed-files-until
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@V35
with:
until: "2022-08-20"
...