Skip to content

Commit

Permalink
Merge pull request #11 from crate-crypto/kw/update-upload-artifacts
Browse files Browse the repository at this point in the history
chore: update upload-artifacts to v4
  • Loading branch information
kevaundray authored Sep 24, 2024
2 parents 22d15cb + 76d8d81 commit 85939e5
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
args: --release --out dist --sdist --find-interpreter
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-linux-${{ matrix.python-version }}-${{ matrix.target }}
path: dist

windows:
Expand All @@ -50,9 +50,9 @@ jobs:
target: ${{ matrix.target }}
args: --release --out dist --sdist --find-interpreter
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-windows-${{ matrix.python-version }}-${{ matrix.target }}
path: dist

macos:
Expand All @@ -72,9 +72,9 @@ jobs:
target: ${{ matrix.target }}
args: --release --out dist --sdist --find-interpreter
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-macos-${{ matrix.python-version }}-${{ matrix.target }}
path: dist

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

0 comments on commit 85939e5

Please sign in to comment.