Skip to content

Commit 27f1b67

Browse files
authored
Merge pull request #35 from sphinx-notes/feat/github-problem-matcher
Enable github problem matcher
2 parents 1ef210d + 8caa61b commit 27f1b67

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

action.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ runs:
8484
restore-keys: |
8585
sphinxnotes-pages-${{ runner.os }}
8686
87+
- name: Enable github problem matcher
88+
uses: sphinx-doc/github-problem-matcher@master
89+
8790
- id: build
8891
name: Build documentation
8992
run: ${{ github.action_path }}/main.sh
@@ -101,19 +104,8 @@ runs:
101104
uses: actions/configure-pages@v2
102105
if: ${{ inputs.publish == 'true' }}
103106

104-
- name: Fix file permissions
105-
shell: sh
106-
if: runner.os == 'Linux'
107-
run: |
108-
chmod -c -R +rX "$INPUT_PATH" |
109-
while read line; do
110-
echo "::warning title=Invalid file permissions automatically fixed::$line"
111-
done
112-
env:
113-
INPUT_PATH: ${{ steps.build.outputs.artifact }}
114-
115107
- name: Upload artifact
116-
uses: actions/upload-pages-artifact@v1
108+
uses: SilverRainZ/upload-pages-artifact@main
117109
if: ${{ inputs.publish == 'true' }}
118110
with:
119111
path: ${{ steps.build.outputs.artifact }}

0 commit comments

Comments
 (0)