Merge pull request #68 from actions/revert-chmod-for-v1

Revert `chmod` removal for `v1`
This commit is contained in:
James M. Greene
2023-07-10 11:26:08 -05:00
committed by GitHub

View File

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