From 083d9fa7b22d616d3a5fb84fea62b5aed7e0c792 Mon Sep 17 00:00:00 2001 From: Robert Taylor Date: Mon, 14 Aug 2023 18:39:16 +0000 Subject: [PATCH] Only run test uploads on main If we run test uploads on branches, we inherently will get clashes as pep440 versioning is linear by design. --- .github/workflows/wheels.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 57920255..446eb151 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -146,6 +146,7 @@ jobs: # TODO: create an sdist that can build without a custom environment needs: [build_wheels] runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' strategy: matrix: buildplat: