Skip to content

Commit

Permalink
CI: ensure, that upload and download artifact actions are compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
vlaci committed Oct 13, 2024
1 parent 519671d commit 9206418
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ jobs:
manylinux: auto
docker-options: -e CARGO_NET_GIT_FETCH_WITH_CLI=true
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-linux-${{ matrix.target }}-${{ matrix.platform }}
path: dist
- name: Test wheels
run: |
Expand Down Expand Up @@ -197,9 +197,9 @@ jobs:
args: --verbose --release --out dist
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-macos-${{ matrix.target }}
path: dist
- uses: pdm-project/setup-pdm@v3
name: Setup PDM
Expand All @@ -222,9 +222,9 @@ jobs:
command: sdist
args: --out dist
- name: Upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: sdist
path: dist

release:
Expand All @@ -233,9 +233,9 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
needs: [build-nix, wheel-linux, wheel-macos, sdist]
steps:
- uses: actions/download-artifact@v4.1.7
- uses: actions/download-artifact@v4
with:
name: wheels
merge-multiple: true
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
Expand Down

0 comments on commit 9206418

Please sign in to comment.