Skip to content

Commit

Permalink
Move to the v4 artifact actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Jul 8, 2024
1 parent 26c472f commit c8d7b8a
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ jobs:
sccache: "true"
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: dist-${{ github.job }}-${{ matrix.target }}
path: dist

musllinux:
Expand All @@ -112,9 +112,9 @@ jobs:
manylinux: musllinux_1_2
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: dist-${{ github.job }}-${{ matrix.target }}
path: dist

windows:
Expand All @@ -141,9 +141,9 @@ jobs:
args: --release --out dist --interpreter '3.8 3.9 3.10 3.11 3.12'
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: dist-${{ github.job }}-${{ matrix.target }}
path: dist

macos:
Expand All @@ -164,9 +164,9 @@ jobs:
args: --release --out dist --interpreter '3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 pypy3.10'
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: dist-${{ github.job }}-${{ matrix.target }}
path: dist

sdist:
Expand All @@ -180,9 +180,9 @@ jobs:
command: sdist
args: --out dist
- name: Upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: dist-${{ github.job }}
path: dist

release:
Expand All @@ -197,9 +197,10 @@ jobs:
id-token: write

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheels
pattern: dist-*
merge-multiple: true
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
with:
Expand Down

0 comments on commit c8d7b8a

Please sign in to comment.