Skip to content

Commit

Permalink
Upgrade download/upload-artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ymyzk committed Jul 6, 2024
1 parent 4fe2715 commit 4a43548
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
asv machine --yes
asv continuous --show-stderr $GITHUB_SHA
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wsgi_lineprof_asv_results
path: .asv/results
14 changes: 9 additions & 5 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
run: python -m pip install --upgrade build
- name: Create packages
run: python -m build -s
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wsgi_lineprof_dist
name: wsgi_lineprof_dist_sdist
path: dist

build_wheel:
Expand Down Expand Up @@ -50,9 +50,9 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_ARCHS: ${{ matrix.arch }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wsgi_lineprof_dist
name: wsgi_lineprof_dist_wheel_${{ matrix.os }}_${{ matrix.arch }}
path: ./wheelhouse/*.whl

build:
Expand All @@ -61,7 +61,11 @@ jobs:
- build_wheel
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/upload-artifact/merge@v4
with:
name: wsgi_lineprof_dist
pattern: wsgi_lineprof_dist_*
- uses: actions/download-artifact@v4
with:
name: wsgi_lineprof_dist
path: dist
Expand Down

0 comments on commit 4a43548

Please sign in to comment.