Skip to content

Commit 3ab7a7a

Browse files
authored
Update main.yml
1 parent 0a62ddf commit 3ab7a7a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ jobs:
7979
pylint --rcfile .pylintrc --output-format=text --exit-zero src/ | tee ./pylint/pylint.log
8080
PYLINT_SCORE=$(sed -n 's/^Your code has been rated at \([-0-9.]*\)\/.*/\1/p' ./pylint/pylint.log)
8181
anybadge --label=Pylint --file=pylint/pylint.svg --value=$PYLINT_SCORE 2=red 4=orange 8=yellow 10=green
82-
- name: Upload linting artifact
82+
- name: Upload linting artifact (log and badge)
8383
uses: actions/upload-artifact@v4
8484
with:
85-
name: linting-badge
86-
path: ./pylint/pylint.svg
85+
name: linting-results
86+
path: ./pylint
8787

8888
build-and-prepare-pages:
8989
name: Build documentation and prepare for Pages
@@ -103,10 +103,10 @@ jobs:
103103
pip install .[doc]
104104
- name: Build with Sphinx
105105
run: cd doc && make html
106-
- name: Download linting badge
106+
- name: Download linting results (log and badge)
107107
uses: actions/download-artifact@v4
108108
with:
109-
name: linting-badge
109+
name: linting-results
110110
path: ./doc/_build/html
111111
- name: Setup Pages
112112
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)