git workflow

This commit is contained in:
Junzi Sun
2024-08-25 13:38:06 +02:00
parent fdfa2b3fab
commit b4be55116c
4 changed files with 19 additions and 70 deletions
+16
View File
@@ -0,0 +1,16 @@
name: build and publish
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v2.0
with:
poetry_version: "==1.8.2"
pypi_token: ${{ secrets.PYPI_API_TOKEN_PYMODES }}