Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #42 from actions/fix-permissions
Fix permissions
  • Loading branch information
Yoann Chaudet authored and GitHub committed Dec 8, 2022
2 parents 79d3b41 + 6da3417 commit 7390744
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Expand Up @@ -17,8 +17,8 @@ runs:
shell: sh
if: runner.os == 'Linux'
run: |
chmod -c -R +r . | while read line; do
echo "::warning title=Changed permissions on a file::$line"
chmod -c -R +rX . | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
tar \
--dereference --hard-dereference \
Expand All @@ -35,8 +35,8 @@ runs:
shell: sh
if: runner.os == 'macOS'
run: |
chmod -v -R +r . | while read line; do
echo "::warning title=Changed permissions on a file::$line"
chmod -v -R +rX . | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
gtar \
--dereference --hard-dereference \
Expand Down

0 comments on commit 7390744

Please sign in to comment.