Skip to content

Commit

Permalink
removing releasing to testpypi
Browse files Browse the repository at this point in the history
  • Loading branch information
abaumann committed Mar 22, 2024
1 parent 521d3d1 commit 2528589
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 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 Python 🐍 distribution πŸ“¦ to PyPI

on: push

Expand Down Expand Up @@ -96,28 +96,4 @@ jobs:
run: >-
gh release upload
'${{ github.ref_name }}' dist/**
--repo '${{ github.repository }}'
publish-to-testpypi:
name: Publish Python 🐍 distribution πŸ“¦ to TestPyPI
needs:
- build
runs-on: ubuntu-latest

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

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/
--repo '${{ github.repository }}'

0 comments on commit 2528589

Please sign in to comment.