Don't change file permissions of other files

Fixes #43
This commit is contained in:
Kye Russell
2022-12-16 12:44:24 +08:00
committed by GitHub
parent c8641e8004
commit 98c5608efa

View File

@@ -21,7 +21,7 @@ runs:
shell: sh
if: runner.os == 'Linux'
run: |
chmod -c -R +rX . | while read line; do
chmod -c -R +rX "$INPUT_PATH" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
tar \
@@ -39,7 +39,7 @@ runs:
shell: sh
if: runner.os == 'macOS'
run: |
chmod -v -R +rX . | while read line; do
chmod -v -R +rX "$INPUT_PATH" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
gtar \