Release #150
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: Release | |
on: | |
release: | |
types: [ published ] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Acquire sources | |
uses: actions/checkout@v4 | |
- name: Install uv | |
run: pipx install uv | |
- name: Pin python version | |
run: uv python pin 3.12 | |
- name: Install project | |
run: uv sync | |
- name: Install project | |
run: .github/workflows/install.sh testing | |
- name: Build | |
run: uvx --from build pyproject-build --installer uv | |
- name: Publish | |
run: uvx twine upload --username=__token__ --token=${{ secrets.PYPI_TOKEN }} --yes |