Skip to content

Commit

Permalink
compatible upload and download artifacts?
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Oct 1, 2024
1 parent 77b4717 commit 0ca3292
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_and_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
CIBW_ARCHS_LINUX: "auto aarch64"
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest {project}/tests --doctest-modules"
- uses: "actions/upload-artifact@v3"
- uses: "actions/upload-artifact@v4"
with:
path: "./wheelhouse/*.whl"

make_sdist:
name: "Build source distribution"
runs-on: ubuntu-latest
Expand All @@ -44,7 +44,7 @@ jobs:
submodules: true
- name: "Build source distribution"
run: "pipx run build --sdist"
- uses: "actions/upload-artifact@v3"
- uses: "actions/upload-artifact@v4"
with:
path: "./dist/*.tar.gz"

Expand All @@ -56,7 +56,7 @@ jobs:
- build_wheels
- make_sdist
steps:
- uses: "actions/download-artifact@v4.1.7"
- uses: "actions/download-artifact@v4"
with:
name: artifact
path: dist
Expand Down

0 comments on commit 0ca3292

Please sign in to comment.