gh workflow: add commit to publish to pypi
This commit is contained in:
parent
ad62f8cc62
commit
cf62ad4239
14
.github/workflows/workflow.yml
vendored
14
.github/workflows/workflow.yml
vendored
|
@ -0,0 +1,14 @@
|
||||||
|
jobs:
|
||||||
|
pypi-publish:
|
||||||
|
name: Upload release to PyPI
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
environment:
|
||||||
|
name: pypi
|
||||||
|
url: https://pypi.org/p/pyvckit
|
||||||
|
permissions:
|
||||||
|
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
|
||||||
|
steps:
|
||||||
|
# retrieve your distributions here
|
||||||
|
|
||||||
|
- name: Publish package distributions to PyPI
|
||||||
|
uses: pypa/gh-action-pypi-publish@aeac3b6e596e58464ab613b371d0825978a5612d
|
Loading…
Reference in a new issue