Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro committed Oct 15, 2024
1 parent 6513f6e commit c965db7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,18 +169,18 @@ jobs:
release:
runs-on: ubuntu-latest
needs: [ sdist, wheels, wheels-pgo ]
environment:
name: pypi
url: https://pypi.org/p/granian
permissions:
id-token: write

steps:
- uses: actions/download-artifact@v3
with:
name: dist
path: dist
- uses: actions/setup-python@v5
- name: Publish package to pypi
uses: pypa/gh-action-pypi-publish@release/v1
with:
python-version: '3.10'
- name: Publish to PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
pip install --upgrade pip twine
twine upload --skip-existing dist/*
skip-existing: true

0 comments on commit c965db7

Please sign in to comment.