Skip to content

Commit 8c59e8b

Browse files
authored
chore(build): updated Github CI Actions (#785)
* chore(ci): updates for latest upload-artifact changes * chore(build): updated pypi release * chore(build): rename top level package * fix: remove up upstream PR
1 parent 4418e5e commit 8c59e8b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
uses: actions/upload-artifact@v4
109109
if: github.event_name == 'release' && github.event.action == 'published'
110110
with:
111-
name: artifact-wheels
111+
name: artifact-wheels-${{ matrix.os }}
112112
path: ./wheelhouse/*.whl
113113

114114
build_sdist:
@@ -136,6 +136,8 @@ jobs:
136136
upload_pypi:
137137
needs: [build_wheels, build_sdist]
138138
runs-on: ubuntu-latest
139+
permissions:
140+
id-token: write
139141
if: github.event_name == 'release' && github.event.action == 'published'
140142
steps:
141143
- uses: actions/download-artifact@v4
@@ -144,7 +146,5 @@ jobs:
144146
path: dist
145147
pattern: artifact-*
146148

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

0 commit comments

Comments
 (0)