paigram-logger/.github/workflows/publish.yml
2023-04-02 17:25:54 +08:00

20 lines
401 B
YAML

name: Publish Python package
on:
push:
tags:
- "v*"
release:
types: [ published ]
# Manual triggers with workflow_dispatch
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.16
with:
pypi_token: ${{ secrets.PYPI_API_TOKEN }}