PYPI Release #3
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: PYPI Release | |
on: | |
release: | |
types: [published] | |
jobs: | |
pypi_release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install UV | |
run: curl -LsSf https://astral.sh/uv/install.sh | sh | |
- name: Source Cargo Environment | |
run: source $HOME/.cargo/env | |
- name: Build with UV | |
run: uvx --from build pyproject-build --installer uv | |
- name: Publish | |
uses: pypa/gh-action-pypi-publish@v1.4.2 | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_TOKEN}} | |
packages_dir: ./dist/ |