Release to test PyPI #5
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: Release to test PyPI | |
on: | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
environment: release-test | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.8" | |
- name: Install build dependencies | |
run: pip install build | |
- name: Build distribution | |
run: python -m build | |
- name: Publish | |
uses: pypa/[email protected] | |
with: | |
repository-url: https://test.pypi.org/legacy/ |