Release 1.1.0 #20
Workflow file for this run
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: Snapshot Builder | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
# Pre-release builds trigger a snapshot being created | |
if: "github.event.release.prerelease" | |
name: Python Snapshot Builder | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install build | |
run: >- | |
python3 -m | |
pip install | |
build | |
--user | |
- name: Build the sdist and wheel | |
run: >- | |
python3 -m | |
build | |
- name: Publish to Test PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
password: ${{ secrets.TEST_PYPI_API_TOKEN }} | |
repository-url: https://test.pypi.org/legacy/ |