From 98c5608efac5534bffcc5b72fb05b465f9867caa Mon Sep 17 00:00:00 2001 From: Kye Russell Date: Fri, 16 Dec 2022 12:44:24 +0800 Subject: [PATCH] Don't change file permissions of other files Fixes #43 --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 20a0c00..73fbd61 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,7 @@ runs: shell: sh if: runner.os == 'Linux' run: | - chmod -c -R +rX . | while read line; do + chmod -c -R +rX "$INPUT_PATH" | while read line; do echo "::warning title=Invalid file permissions automatically fixed::$line" done tar \ @@ -39,7 +39,7 @@ runs: shell: sh if: runner.os == 'macOS' run: | - chmod -v -R +rX . | while read line; do + chmod -v -R +rX "$INPUT_PATH" | while read line; do echo "::warning title=Invalid file permissions automatically fixed::$line" done gtar \