Skip to content

Commit 8627ca0

Browse files
committed
simplify
1 parent ce33e3b commit 8627ca0

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/add-redirects.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,12 @@ jobs:
1919
# pin to a specific commit to ensure stability
2020
uses: tj-actions/changed-files@c65cd883420fd2eb864698a825fc4162dd94482c
2121
with:
22-
files: |
23-
*.txt
2422
include_all_old_new_renamed_files: true
2523
write_output_files: true
2624
- name: Debug renamed files output
2725
id: output-renamed
2826
env:
2927
RENAMED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
3028
run: |
31-
echo "Changed files: ${{ steps.changed-files.outputs.all_changed_files }}"
32-
- name: Write renamed files to output
33-
id: write-renamed
34-
run: |
35-
printf "%s\n" "$RENAMED_FILES" > .github/outputs/renamed_files.txt
36-
- name: Verify the contents of renamed_files.txt
37-
run: |
38-
cat .github/outputs/renamed_files.txt
29+
echo "Changed files: "
30+
echo "${{ steps.changed-files.outputs.all_changed_files }}"

0 commit comments

Comments
 (0)