From f70b57c414503740a323f3cbed1d50587b0f3ddb Mon Sep 17 00:00:00 2001 From: Noam Gat Date: Tue, 10 Oct 2023 15:06:39 +0300 Subject: [PATCH] Added publish to pypi action --- .github/workflows/publish_to_pypi.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/publish_to_pypi.yml diff --git a/.github/workflows/publish_to_pypi.yml b/.github/workflows/publish_to_pypi.yml new file mode 100644 index 0000000..fe972dc --- /dev/null +++ b/.github/workflows/publish_to_pypi.yml @@ -0,0 +1,14 @@ +name: Publish to PyPI +on: + push: + tags: + - "v*.*.*" +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Build and publish to pypi + uses: JRubics/poetry-publish@v1.17 + with: + pypi_token: ${{ secrets.PYPI_TOKEN }} \ No newline at end of file