Skip to content

Commit

Permalink
updated pypi publishing GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
cneyens committed Feb 2, 2025
1 parent eead35b commit c6821f5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/python_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
runs-on: ubuntu-latest

environment:
name: testpypi # pypi
url: https://test.pypi.org/p/adepy # https://pypi.org/p/adepy
name: pypi
url: https://pypi.org/p/adepy

permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
Expand All @@ -54,6 +54,4 @@ jobs:
name: python-package-distributions
path: dist/
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/ # remove for PyPi
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit c6821f5

Please sign in to comment.