Skip to content

Commit

Permalink
chore(build): updated Github CI Actions (#785)
Browse files Browse the repository at this point in the history
* chore(ci): updates for latest upload-artifact changes

* chore(build): updated pypi release

* chore(build): rename top level package

* fix: remove up upstream PR
  • Loading branch information
cofin authored Dec 27, 2024
1 parent 4418e5e commit 8c59e8b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
uses: actions/upload-artifact@v4
if: github.event_name == 'release' && github.event.action == 'published'
with:
name: artifact-wheels
name: artifact-wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl

build_sdist:
Expand Down Expand Up @@ -136,6 +136,8 @@ jobs:
upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
permissions:
id-token: write
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v4
Expand All @@ -144,7 +146,5 @@ jobs:
path: dist
pattern: artifact-*

- uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 8c59e8b

Please sign in to comment.