Skip to content

Commit

Permalink
multiple artifact upload adapted to new action
Browse files Browse the repository at this point in the history
  • Loading branch information
bertiqwerty committed May 21, 2024
1 parent d694fc4 commit 6c944ba
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-sdist
path: rormula/dist

linux:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ strategy.job-index }}
path: rormula/dist

windows:
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ strategy.job-index }}
path: rormula/dist

macos:
Expand All @@ -107,7 +107,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ strategy.job-index }}
path: rormula/dist


Expand All @@ -121,7 +121,8 @@ jobs:
steps:
- 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 6c944ba

Please sign in to comment.