v0.12.1 #41
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: Publish to PyPI | |
on: | |
workflow_dispatch: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Docker Image | |
run: make build | |
- name: Check Lint | |
run: make lint CI=true | |
- name: Check Format | |
run: make format CI=true ARGS=--check | |
- name: Run Tests | |
run: make test CI=true | |
- name: Check Image Hashes | |
run: make check-hashes CI=true | |
- name: Build | |
run: make flit-build | |
- name: Publish | |
env: | |
FLIT_USERNAME: __token__ | |
FLIT_PASSWORD: ${{ secrets.PYPI_TOKEN }} | |
run: make flit-publish |