Skip to content

Commit 02cc502

Browse files
committed
env
1 parent 13af54e commit 02cc502

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/add-redirects.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ jobs:
2222
include_all_old_new_renamed_files: 'true'
2323
write_output_files: 'true'
2424
- name: Debug renamed files output
25+
id: output-renamed
26+
env:
27+
RENAMED_FILES: ${{ steps.changed_files.outputs.all_old_new_renamed_files }}
2528
run: |
2629
echo "Renamed files output:"
27-
echo "${{ steps.changed_files.outputs.all_old_new_renamed_files }}"
30+
echo "$RENAMED_FILES"
2831
- name: Write renamed files to output
32+
id: write-renamed
2933
run: |
30-
printf "%s\n" "${{ steps.changed_files.outputs.all_old_new_renamed_files }}" > .github/outputs/renamed_files.txt
34+
printf "%s\n" "$RENAMED_FILES" > .github/outputs/renamed_files.txt
3135
- name: Verify the contents of renamed_files.txt
3236
run: |
3337
cat .github/outputs/renamed_files.txt

0 commit comments

Comments
 (0)