Skip to content

version 0.2.11.4a3

version 0.2.11.4a3 #96

Workflow file for this run

name: Publish
on: [push, workflow_dispatch]
jobs:
publish:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
name: Publish to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Build artifacts
run: |
python -m pip install --upgrade pip
python -m pip install virtualenv
make build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true