Skip to content

Commit

Permalink
Merge pull request #68 from actions/revert-chmod-for-v1
Browse files Browse the repository at this point in the history
Revert `chmod` removal for `v1`
  • Loading branch information
JamesMGreene committed Jul 10, 2023
2 parents 6e866d0 + 75e09bd commit 81e1caf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions action.yml
Expand Up @@ -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" \
Expand All @@ -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" \
Expand Down

0 comments on commit 81e1caf

Please sign in to comment.