Skip to content

Commit

Permalink
update pypi config again
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-jones committed Nov 22, 2024
1 parent 2a84a3d commit 5cb5142
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
types: [created]

jobs:
pypi-publish:
name: Publish release to PyPI
pypi-publish2:
name: Publish release to Real PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/coarnotify # Replace <package-name> with your PyPI project name
url: https://pypi.org/p/coarnotify
permissions:
id-token: write
steps:
Expand All @@ -24,7 +24,6 @@ jobs:
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Build package
run: |
python setup.py sdist bdist_wheel # Could also be python -m build
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 5cb5142

Please sign in to comment.