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.
This commit is contained in:
Robert Taylor 2023-08-14 18:39:16 +00:00 committed by Rob Taylor
parent 8ed2c20781
commit 083d9fa7b2
1 changed files with 1 additions and 0 deletions

View File

@ -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: