Skip to content

Commit

Permalink
Use v4 artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
wvangeit committed Dec 27, 2023
1 parent 90c2dc7 commit 231362e
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
env:
CIBW_BUILD: ${{ matrix.python }}*${{ matrix.arch }}
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: wheelhouse/*.whl
name: wheels-${{ matrix.os }}-${{ matrix.python }}-${{ matrix.arch }}
path: ./wheelhouse/*.whl
test-pypi:
name: Publish wheels on Test PyPI
runs-on: ubuntu-latest
Expand All @@ -44,9 +44,11 @@ jobs:
id-token: write
steps:
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: dist/
pattern: wheels-*
path: dist
merge-multiple: true
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand All @@ -68,6 +70,8 @@ jobs:
- name: Download all artifacts
uses: actions/download-artifact@v3
with:
path: dist/
pattern: wheels-*
path: dist
merge-multiple: true
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 231362e

Please sign in to comment.