mirror of
https://github.com/actions/upload-pages-artifact.git
synced 2025-12-08 08:06:18 +00:00
Merge pull request #68 from actions/revert-chmod-for-v1
Revert `chmod` removal for `v1`
This commit is contained in:
@@ -21,6 +21,9 @@ runs:
|
|||||||
shell: sh
|
shell: sh
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
|
chmod -c -R +rX "$INPUT_PATH" | while read line; do
|
||||||
|
echo "::warning title=Invalid file permissions automatically fixed::$line"
|
||||||
|
done
|
||||||
tar \
|
tar \
|
||||||
--dereference --hard-dereference \
|
--dereference --hard-dereference \
|
||||||
--directory "$INPUT_PATH" \
|
--directory "$INPUT_PATH" \
|
||||||
@@ -36,6 +39,9 @@ runs:
|
|||||||
shell: sh
|
shell: sh
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
|
chmod -v -R +rX "$INPUT_PATH" | while read line; do
|
||||||
|
echo "::warning title=Invalid file permissions automatically fixed::$line"
|
||||||
|
done
|
||||||
gtar \
|
gtar \
|
||||||
--dereference --hard-dereference \
|
--dereference --hard-dereference \
|
||||||
--directory "$INPUT_PATH" \
|
--directory "$INPUT_PATH" \
|
||||||
|
|||||||
Reference in New Issue
Block a user