Skip to content

Commit

Permalink
fix(github): update pypi environment
Browse files Browse the repository at this point in the history
  • Loading branch information
skyme5 committed Jul 10, 2024
1 parent 42d4568 commit b0615f4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/continuous-integration-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build:
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
environment: publish
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
Expand All @@ -35,10 +35,7 @@ jobs:
pip install setuptools
pip install wheel
pip install twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- name: Build
run: |
python setup.py sdist bdist_wheel
- name: Publish package distributions to PyPI
Expand Down

0 comments on commit b0615f4

Please sign in to comment.