Add GitHub Actions publish.yml

This commit is contained in:
Babibubebon 2023-03-26 05:22:53 +09:00
parent 9fb0ffa7b7
commit 78431ffe5d
Signed by: Babibubebon
GPG key ID: 78C8FB2A2FEA1EE3

18
.github/workflows/publish.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Publish Python Package
on:
push:
tags:
- "v*.*.*"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.16
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
poetry_version: "==1.4.1"
ignore_dev_requirements: "yes"