Skip to content

Commit

Permalink
Remove TestPyPi publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
BojanSof committed May 10, 2024
1 parent d96054f commit eaf93b1
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# For more information see: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

name: Publish Python 🐍 distribution πŸ“¦ to PyPI and TestPyPI
name: Publish Python 🐍 distribution πŸ“¦ to PyPI

on:
push:
Expand Down Expand Up @@ -95,28 +95,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/PyDevDTK

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 eaf93b1

Please sign in to comment.