Skip to content

Release

Release #6

Workflow file for this run

name: Release
on:
release:
types:
- published
jobs:
publish:
strategy:
fail-fast: false
matrix:
python-version: [3.9]
poetry-version: [1.3.1]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- uses: snok/install-poetry@v1
with:
version: ${{ matrix.poetry-version }}
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Publish langtest ${{ github.event.release.name }} to pypi
env:
PYPI_SECRET: ${{ secrets.PYPI_SECRET }}
run: |
poetry config pypi-token.pypi $PYPI_SECRET
poetry publish --build