Skip to content

Commit ad969cf

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

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/tox.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,16 @@ jobs:
201201
run: ${{ inputs.run_post }}
202202

203203
- name: Archive logs and coverage data
204-
uses: actions/upload-artifact@v4
204+
uses: coactions/upload-artifact@fix/multi-folders
205205
with:
206206
name: logs-${{ matrix.name }}.zip
207207
include-hidden-files: true
208+
if-no-files-found: error
208209
path: |
209-
.tox/**/log/
210+
.tox/**/pyvenv.cfg
210211
.tox/**/coverage.xml
212+
# Temporary disable of tox log collection until its new release:
213+
# .tox/**/log/
211214

212215
- name: Upload test results to Codecov
213216
if: ${{ !cancelled() && hashFiles('junit.xml') != '' }}

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)