Skip to content

Commit 81e1caf

Browse files
authored
Merge pull request #68 from actions/revert-chmod-for-v1
Revert `chmod` removal for `v1`
2 parents 6e866d0 + 75e09bd commit 81e1caf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ runs:
2121
shell: sh
2222
if: runner.os == 'Linux'
2323
run: |
24+
chmod -c -R +rX "$INPUT_PATH" | while read line; do
25+
echo "::warning title=Invalid file permissions automatically fixed::$line"
26+
done
2427
tar \
2528
--dereference --hard-dereference \
2629
--directory "$INPUT_PATH" \
@@ -36,6 +39,9 @@ runs:
3639
shell: sh
3740
if: runner.os == 'macOS'
3841
run: |
42+
chmod -v -R +rX "$INPUT_PATH" | while read line; do
43+
echo "::warning title=Invalid file permissions automatically fixed::$line"
44+
done
3945
gtar \
4046
--dereference --hard-dereference \
4147
--directory "$INPUT_PATH" \

0 commit comments

Comments
 (0)