Skip to content

Commit

Permalink
[build] Update actions/upload-artifact and actions/download-artifact …
Browse files Browse the repository at this point in the history
…to v4.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
  • Loading branch information
seifertm committed Feb 9, 2024
1 parent 4b1908d commit 3aef605
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
id: version
run: python ./tools/get-version.py >> $GITHUB_OUTPUT
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
Expand Down Expand Up @@ -84,10 +84,10 @@ jobs:
run: python -m tox

- name: Store coverage data
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: "!endsWith(matrix.os, 'windows')"
with:
name: coverage-per-interpreter
name: coverage-python-${{ matrix.python-version }}
path: .coverage.*

check:
Expand All @@ -109,9 +109,10 @@ jobs:
set -xe
python -m pip install --upgrade coverage[toml]
- name: Download coverage data for all test runs
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage-per-interpreter
pattern: coverage-*
merge-multiple: true
- name: Combine coverage data and create report
run: |
coverage combine
Expand All @@ -136,7 +137,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Download distributions
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand Down

0 comments on commit 3aef605

Please sign in to comment.