Skip to content

Commit

Permalink
Merge pull request #35 from sphinx-notes/feat/github-problem-matcher
Browse files Browse the repository at this point in the history
Enable github problem matcher
  • Loading branch information
SilverRainZ authored Feb 2, 2024
2 parents 1ef210d + 8caa61b commit 27f1b67
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ runs:
restore-keys: |
sphinxnotes-pages-${{ runner.os }}
- name: Enable github problem matcher
uses: sphinx-doc/github-problem-matcher@master

- id: build
name: Build documentation
run: ${{ github.action_path }}/main.sh
Expand All @@ -101,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: SilverRainZ/upload-pages-artifact@main
if: ${{ inputs.publish == 'true' }}
with:
path: ${{ steps.build.outputs.artifact }}
Expand Down

0 comments on commit 27f1b67

Please sign in to comment.