Skip to content

[VERSION] v0.6.1

[VERSION] v0.6.1 #11

Workflow file for this run

name: Publish
on:
push:
tags:
- "*"
jobs:
tests:
uses: ./.github/workflows/test.yml
pypi-publish:
name: publish
needs: [tests]
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
strategy:
matrix:
python: ['3.10'] # use the lowest supported version
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}
- name: Install test dependencies
run: |
python -m pip install -U tox
- name: Test
run: python -m tox -c tox-ci.ini
- name: Build
run : |
python -m pip install -U pip build
python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1