diff --git a/.github/workflows/build-asciidoc.yml b/.github/workflows/build-asciidoc.yml index 0613e77..953c456 100644 --- a/.github/workflows/build-asciidoc.yml +++ b/.github/workflows/build-asciidoc.yml @@ -33,11 +33,6 @@ jobs: uses: ./github_action with: output: artifact.tar - - name: Fix permissions - run: | - chmod -c -R +rX . | while read line; do - echo "::warning title=Invalid file permissions automatically fixed::$line" - done - name: "Step: upload artifact" uses: actions/upload-artifact@v3 with: diff --git a/github_action/entrypoint.sh b/github_action/entrypoint.sh index aa3843b..a186893 100755 --- a/github_action/entrypoint.sh +++ b/github_action/entrypoint.sh @@ -30,5 +30,8 @@ tar --dereference -cvf $INPUT_OUTPUT --exclude .asciidoctor --exclude .git --exc echo Artifact: $INPUT_OUTPUT ls -l $INPUT_OUTPUT +chmod -c -R +rX . | while read line; do + echo "::warning title=Invalid file permissions automatically fixed::$line" +done tar tvf $INPUT_OUTPUT