From 69b5acbea9ef20b3f4896029513af13a8f8a2454 Mon Sep 17 00:00:00 2001 From: Steven Maude Date: Mon, 12 Jan 2026 11:07:40 +0000 Subject: [PATCH] Upload artifact for specified Python version This package is a wheel, so we only need store one version. This is a prelude to publishing via GitHub and PyPI. --- .github/workflows/ci-build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index ed4792b..82c5fac 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -3,8 +3,13 @@ on: push: branches: - main + tags: + - 'v*' pull_request: +env: + PYTHON_BUILD_VERSION: '3.14' + jobs: build: name: Build and Test @@ -41,3 +46,10 @@ jobs: - name: Build package run: uv build + + - name: Upload artifacts + if: matrix.python-version == env.PYTHON_BUILD_VERSION + uses: actions/upload-artifact@v4 + with: + name: python-package-distributions + path: dist/