Skip to content

Commit

Permalink
Update artifact upload/download actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sirosen committed Dec 22, 2023
1 parent 90ecaea commit 786a7b0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
python -m tox run-parallel -m ci -- --junitxml pytest.{envname}.xml
python -m tox run -e cov
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: pytest-report-py${{ matrix.py }}-${{ matrix.os }}
path: pytest.*.xml
Expand All @@ -115,7 +115,7 @@ jobs:
with:
python-version: "3.x"
# download everything
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: artifacts/
# collate and report
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_to_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Check Dists (twine)
run: twine check dist/*

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: packages
path: dist/*
Expand All @@ -35,7 +35,7 @@ jobs:
id-token: write

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: packages
path: dist
Expand All @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: packages
path: dist
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_to_test_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Check Dists (twine)
run: twine check dist/*

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: packages
path: dist/*
Expand All @@ -51,7 +51,7 @@ jobs:
id-token: write

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: packages
path: dist
Expand Down

0 comments on commit 786a7b0

Please sign in to comment.