From ba18935c75ffbc1dfc0992157246ccea7fb5bb6d Mon Sep 17 00:00:00 2001 From: savvan0h Date: Sat, 12 Oct 2024 20:22:45 +0900 Subject: [PATCH] Add GitHub Actions workflow for PyPI publishing --- .github/workflows/publish.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..b62c931 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,13 @@ +name: Build and publish to PyPI +on: + push: + tags: + - '*.*.*' +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: JRubics/poetry-publish@v2.0 + with: + pypi_token: ${{ secrets.PYPI_TOKEN }}