Merge pull request #42 from actions/fix-permissions

Fix permissions
This commit is contained in:
Yoann Chaudet
2022-12-08 15:21:43 -08:00
committed by GitHub

View File

@@ -17,8 +17,8 @@ runs:
shell: sh shell: sh
if: runner.os == 'Linux' if: runner.os == 'Linux'
run: | run: |
chmod -c -R +r . | while read line; do chmod -c -R +rX . | while read line; do
echo "::warning title=Changed permissions on a file::$line" echo "::warning title=Invalid file permissions automatically fixed::$line"
done done
tar \ tar \
--dereference --hard-dereference \ --dereference --hard-dereference \
@@ -35,8 +35,8 @@ runs:
shell: sh shell: sh
if: runner.os == 'macOS' if: runner.os == 'macOS'
run: | run: |
chmod -v -R +r . | while read line; do chmod -v -R +rX . | while read line; do
echo "::warning title=Changed permissions on a file::$line" echo "::warning title=Invalid file permissions automatically fixed::$line"
done done
gtar \ gtar \
--dereference --hard-dereference \ --dereference --hard-dereference \