Skip to content

Commit add4586

Browse files
committed
Replace action/upload-artifact with a more secure alternative
Related: AAP-46204
1 parent 9958e82 commit add4586

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/tox.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,15 @@ jobs:
209209
.tox/**/log/
210210
.tox/**/coverage.xml
211211
212+
- name: Archive logs and coverage data
213+
uses: coactions/upload-artifact@v4
214+
with:
215+
name: logs-${{ matrix.name }}.zip
216+
include-hidden-files: true
217+
path: |
218+
.tox/**/log/
219+
.tox/**/coverage.xml
220+
212221
- name: Upload test results to Codecov
213222
if: ${{ !cancelled() && hashFiles('junit.xml') != '' }}
214223
uses: codecov/test-results-action@v1

tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ uv_seed = true
6363
[testenv:docs]
6464
description = Build docs
6565
extras = docs
66-
passenv =
67-
*
6866
setenv =
6967
# see https://github.com/tox-dev/tox/issues/2092#issuecomment-2538729079
7068
# see https://github.com/Kozea/CairoSVG/issues/392#issuecomment-2538707712

0 commit comments

Comments
 (0)