Skip to content

ci: speed up testing #27

ci: speed up testing

ci: speed up testing #27

Workflow file for this run

name: deploy
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
tags:
- v*
jobs:
dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hynek/build-and-inspect-python-package@v2
deploy:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v4
with:
name: Packages
path: dist
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_password }}