Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct bash loop in examples #1908

Merged
merged 4 commits into from
Feb 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in "$ALL_CHANGED_FILES"; do
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done

Expand All @@ -147,7 +147,7 @@ jobs:
env:
ALL_CHANGED_FILES: ${{ steps.changed-markdown-files.outputs.all_changed_files }}
run: |
for file in "$ALL_CHANGED_FILES"; do
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done

Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in "$ALL_CHANGED_FILES"; do
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done
```
Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in "$ALL_CHANGED_FILES"; do
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done
...
Expand Down Expand Up @@ -726,7 +726,7 @@ The format of the version string is as follows:
env:
ADDED_FILES: ${{ steps.changed-files.outputs.added_files }}
run: |
for file in "$ADDED_FILES"; do
for file in ${ADDED_FILES}; do
echo "$file was added"
done
...
Expand Down Expand Up @@ -764,7 +764,7 @@ See [inputs](#inputs) for more information.
env:
ADDED_FILES: ${{ steps.changed-files.outputs.added_files }}
run: |
for file in "$ADDED_FILES"; do
for file in ${ADDED_FILES}; do
echo "$file was added"
done
...
Expand Down Expand Up @@ -889,7 +889,7 @@ See [inputs](#inputs) for more information.
env:
DELETED_FILES: ${{ steps.changed-files-specific.outputs.deleted_files }}
run: |
for file in "$DELETED_FILES"; do
for file in ${DELETED_FILES}; do
echo "$file was deleted"
done

Expand All @@ -898,7 +898,7 @@ See [inputs](#inputs) for more information.
env:
DELETED_FILES: ${{ steps.changed-files-specific.outputs.deleted_files }}
run: |
for file in "$DELETED_FILES"; do
for file in ${DELETED_FILES}; do
echo "$file was deleted"
done
...
Expand Down Expand Up @@ -1047,7 +1047,7 @@ See [inputs](#inputs) for more information.
ADDED_FILES: |-
${{ steps.changed-files-for-dir1.outputs.added_files }}
run: |
for file in "$ADDED_FILES"; do
for file in ${ADDED_FILES}; do
echo "$file was added"
done
...
Expand Down