From 25b625c6963239e46d6840ce0d5991090bd1388b Mon Sep 17 00:00:00 2001 From: h Date: Fri, 7 Nov 2025 00:42:00 +0100 Subject: [PATCH] feat(infra): create workflow for package publishing --- .github/workflows/publish.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..f3c2908 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,26 @@ +name: "Publish" + +on: + push: + tags: + - v* + +jobs: + run: + runs-on: ubuntu-latest + environment: + name: pypi + permissions: + id-token: write + contents: read + steps: + - name: Checkout + uses: actions/checkout@v5 + - name: Install uv + uses: astral-sh/setup-uv@v6 + - name: Install Python 3.13 + run: uv python install 3.13 + - name: Build + run: uv build + - name: Publish + run: uv publish