diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e40926a..e6a150c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,6 @@ jobs: name: dist path: dist verify: - if: "!startsWith(github.ref, 'refs/tags/')" name: Verify wheels runs-on: ubuntu-latest needs: [build_wheels] @@ -67,6 +66,7 @@ jobs: run: ls -lh dist pypi-publish: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') + needs: [verify] name: Upload release to PyPI runs-on: ubuntu-latest environment: