We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6061c65 commit da22f87Copy full SHA for da22f87
.github/workflows/deploy.yml
@@ -7,6 +7,8 @@ on:
7
jobs:
8
deploy:
9
runs-on: ubuntu-latest
10
+ permissions:
11
+ id-token: write
12
steps:
13
- uses: actions/checkout@v2
14
- name: Set up Python
@@ -17,10 +19,7 @@ jobs:
17
19
run: |
18
20
python -m pip install --upgrade pip
21
pip install setuptools wheel twine
- - name: Build and publish
- env:
22
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
23
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
24
- run: |
25
- python setup.py sdist bdist_wheel
26
- twine upload dist/*
+ - name: Build package
+ run: python setup.py sdist bdist_wheel
+ - name: Publish package distributions to PyPI
+ uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0
0 commit comments