Skip to content

Commit

Permalink
CI: Fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedThree committed Oct 28, 2024
1 parent 02bc261 commit b2caa48
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
CIBW_ARCHS_MACOS: x86_64 arm64

- name: Upload Wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
name: dist-${{ matrix.os }}
path: wheelhouse

make_sdist:
Expand All @@ -50,8 +50,9 @@ jobs:
- name: Build SDist
run: pipx run build --sdist

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist-src
path: dist/*.tar.gz

publish-to-pypi:
Expand All @@ -67,7 +68,8 @@ jobs:
- name: Download distribution packages
uses: actions/download-artifact@v4
with:
name: python-package-distributions
pattern: dist-*
path: dist/
merge-multiple: true
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit b2caa48

Please sign in to comment.