Skip to content

Commit

Permalink
No longer need to fix file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverRainZ committed Feb 2, 2024
1 parent d38e8a5 commit da89835
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,8 @@ runs:
uses: actions/configure-pages@v2
if: ${{ inputs.publish == 'true' }}

- name: Fix file permissions
shell: sh
if: runner.os == 'Linux'
run: |
chmod -c -R +rX "$INPUT_PATH" |
while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
env:
INPUT_PATH: ${{ steps.build.outputs.artifact }}

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
if: ${{ inputs.publish == 'true' }}
with:
path: ${{ steps.build.outputs.artifact }}
Expand Down

0 comments on commit da89835

Please sign in to comment.