Skip to content

Commit

Permalink
removed automatic publishing to testpypi
Browse files Browse the repository at this point in the history
  • Loading branch information
rhornig committed Apr 17, 2024
1 parent 440cd66 commit 745e245
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Python 🐍 distribution πŸ“¦ to PyPI and TestPyPI
name: Publish opp_env Python distribution to PyPI

on: push

Expand Down Expand Up @@ -27,30 +27,6 @@ jobs:
name: python-package-distributions
path: dist/

publish-to-testpypi:
name: Publish Python 🐍 distribution πŸ“¦ to TestPyPI
needs:
- build
runs-on: ubuntu-latest

environment:
name: testpypi
url: https://test.pypi.org/p/opp-env

permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
with:
name: python-package-distributions
path: dist/
- name: Publish distribution πŸ“¦ to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/

publish-to-pypi:
name: >-
Publish Python 🐍 distribution πŸ“¦ to PyPI
Expand Down

0 comments on commit 745e245

Please sign in to comment.