Skip to content

Commit

Permalink
ci: Use real PyPI in release action (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
alekzvik authored Jun 30, 2023
1 parent 5c2eb68 commit 4ae7ff6
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
needs: [build]
runs-on: ubuntu-latest
environment:
# name: pypi
# url: https://pypi.org/p/felt_upload
name: testpypi
url: https://test.pypi.org/p/felt-upload/
name: pypi
url: https://pypi.org/p/felt_upload
# name: testpypi
# url: https://test.pypi.org/p/felt-upload/
permissions:
id-token: write
steps:
Expand All @@ -65,13 +65,13 @@ jobs:
name: built-package
path: dist/

# - name: Publish package distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1

- name: Publish package distributions to TestPyPI
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/

# - name: Publish package distributions to TestPyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository-url: https://test.pypi.org/legacy/

gh-release:
name: Github release
Expand All @@ -93,3 +93,4 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: dist/*
generate_release_notes: true

0 comments on commit 4ae7ff6

Please sign in to comment.