Update README.md
This commit is contained in:
11
README.md
11
README.md
@@ -233,13 +233,10 @@ jobs:
|
|||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v40
|
uses: tj-actions/changed-files@v40
|
||||||
with:
|
|
||||||
safe_output: false # true by default, set to false because we are using an environment variable to store the output and avoid command injection.
|
|
||||||
|
|
||||||
- name: List all changed files
|
- name: List all changed files
|
||||||
env:
|
env:
|
||||||
ALL_CHANGED_FILES: |-
|
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||||
${{ steps.changed-files.outputs.all_changed_files }}
|
|
||||||
run: |
|
run: |
|
||||||
for file in "$ALL_CHANGED_FILES"; do
|
for file in "$ALL_CHANGED_FILES"; do
|
||||||
echo "$file was changed"
|
echo "$file was changed"
|
||||||
@@ -279,15 +276,11 @@ jobs:
|
|||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v40
|
uses: tj-actions/changed-files@v40
|
||||||
with:
|
|
||||||
safe_output: false # true by default, set to false because we are using an environment variable to store the output and avoid command injection.
|
|
||||||
|
|
||||||
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
|
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
|
||||||
|
|
||||||
- name: List all changed files
|
- name: List all changed files
|
||||||
env:
|
env:
|
||||||
ALL_CHANGED_FILES: |-
|
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||||
${{ steps.changed-files.outputs.all_changed_files }}
|
|
||||||
run: |
|
run: |
|
||||||
for file in "$ALL_CHANGED_FILES"; do
|
for file in "$ALL_CHANGED_FILES"; do
|
||||||
echo "$file was changed"
|
echo "$file was changed"
|
||||||
|
|||||||
Reference in New Issue
Block a user