Upgraded from v30 -> v31.0.0

This commit is contained in:
jackton1
2022-09-25 08:01:32 +00:00
committed by GitHub
parent 5184a750a6
commit bff472661c
2 changed files with 50 additions and 31 deletions

View File

@@ -69,7 +69,7 @@ jobs:
# Example 1
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v30
uses: tj-actions/changed-files@v31
- name: List all changed files
run: |
@@ -80,7 +80,7 @@ jobs:
# Example 2
- name: Get changed files in the docs folder
id: changed-files-specific
uses: tj-actions/changed-files@v30
uses: tj-actions/changed-files@v31
with:
files: |
docs/**
@@ -176,11 +176,11 @@ Support this project with a :star:
- name: Get changed files using defaults
id: changed-files
uses: tj-actions/changed-files@v30
uses: tj-actions/changed-files@v31
- name: Get changed files using a comma separator
id: changed-files-comma
uses: tj-actions/changed-files@v30
uses: tj-actions/changed-files@v31
with:
separator: ","
@@ -202,7 +202,7 @@ Support this project with a :star:
- name: Get specific changed files
id: changed-files-specific
uses: tj-actions/changed-files@v30
uses: tj-actions/changed-files@v31
with:
files: |
my-file.txt
@@ -243,14 +243,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@v30
uses: tj-actions/changed-files@v31
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@v30
uses: tj-actions/changed-files@v31
with:
files_from_source_file: |
test/changed-files-list.txt
@@ -259,13 +259,13 @@ Support this project with a :star:
- name: Use a different commit SHA
id: changed-files-custom-sha
uses: tj-actions/changed-files@v30
uses: tj-actions/changed-files@v31
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@v30
uses: tj-actions/changed-files@v31
with:
base_sha: ${{ github.event.pull_request.base.sha }}
@@ -277,7 +277,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@v30
uses: tj-actions/changed-files@v31
with:
path: dir1
@@ -289,13 +289,13 @@ 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@v30
uses: tj-actions/changed-files@v31
with:
since_last_remote_commit: "true"
- name: Run changed-files with quotepath disabled
id: changed-files-quotepath
uses: tj-actions/changed-files@v30
uses: tj-actions/changed-files@v31
with:
quotepath: "false"
@@ -317,7 +317,7 @@ Support this project with a :star:
- 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@v30
uses: tj-actions/changed-files@v31
with:
base_sha: ${{ steps.last_successful_commit_push.outputs.commit_hash }}
@@ -338,32 +338,32 @@ Support this project with a :star:
- name: Run changed-files with the commit of the last successful test workflow run on main
if: github.event_name == 'pull_request'
id: changed-files-base-sha-pull-request
uses: tj-actions/changed-files@v30
uses: tj-actions/changed-files@v31
with:
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.commit_hash }}
- name: Run changed-files with dir_names
id: changed-files-dir-names
uses: tj-actions/changed-files@v30
uses: tj-actions/changed-files@v31
with:
dir_names: "true"
# All outputs are JSON formatted arrays and can be used in other actions and matrix compatible jobs.
- name: Run changed-files with json output
id: changed-files-json
uses: tj-actions/changed-files@v30
uses: tj-actions/changed-files@v31
wi
json: "true"
- name: Run changed-files since 2022-08-19
id: changed-files-since
uses: tj-actions/changed-files@v30
uses: tj-actions/changed-files@v31
with:
since: "2022-08-19"
- name: Run changed-files until 2022-08-20
id: changed-files-until
uses: tj-actions/changed-files@v30
uses: tj-actions/changed-files@v31
with:
until: "2022-08-20"
```