Skip to content

package and publish (#3) #1

package and publish (#3)

package and publish (#3) #1

Workflow file for this run

name: Publish
on:
workflow_dispatch:
push:
tags:
- releases/*
jobs:
publish:
runs-on: ubuntu-20.04
environment: pypi
steps:
- uses: actions/checkout@v3
- run: ls
- name: install poetry
run: curl -sSL https://install.python-poetry.org | python -
- run: poetry run pip install twine
- run: rm -fr dist/
- run: poetry build -f wheel
- run: poetry run twine upload -u __token__ -p ${{ secrets.PUBLISH_TOKEN }} dist/*whl