Skip to content

0.0.40

0.0.40 #30

Workflow file for this run

name: publish
on:
release:
types:
- created
jobs:
main:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: apt-get update
run: sudo apt-get update -y
- name: set up python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: "pyproject.toml"
- name: install invoke
run: pip install invoke
- name: build
run: inv build
- name: publish
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: inv publish