Merge pull request #3 from feteu/develop #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Python 🐍 distribution 📦 to TestPyPI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yaml | |
publish-to-testpypi: | |
name: Teleport Python 🐍 Distribution 📦 to TestPyPI | |
needs: build | |
runs-on: ubuntu-latest | |
environment: | |
name: testpypi | |
url: https://test.pypi.org/p/asgi-claim-validator | |
permissions: | |
id-token: write | |
steps: | |
- name: Summon the Distribution Artifacts 🧙♂️ | |
uses: actions/download-artifact@v4 | |
with: | |
name: python-package-distributions | |
path: dist/ | |
- name: Cast the Publish Spell 📦 to TestPyPI | |
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 | |
with: | |
repository-url: https://test.pypi.org/legacy/ |