Skip to content

Merge pull request #9 from zauberzeug/socketio_fix #132

Merge pull request #9 from zauberzeug/socketio_fix

Merge pull request #9 from zauberzeug/socketio_fix #132

Workflow file for this run

name: Upload Python Package
on:
push:
tags:
- v**
# Allows you to run this workflow manually from the Actions a tab
workflow_dispatch:
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: set up Poetry
uses: abatilo/[email protected]
with:
poetry-version: "1.5.0"
- name: get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: set version
run: poetry version ${{ steps.get_version.outputs.VERSION }}
- name: publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: poetry publish --build