diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d434d6d..13a3005 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,8 +2,6 @@ name: Release build on: push: - branches: - - "release/**" jobs: linux: @@ -27,6 +25,7 @@ jobs: manylinux: auto - name: Upload wheels + if: github.ref == 'refs/heads/release/**' uses: actions/upload-artifact@v3 with: name: ${{ github.sha }} @@ -52,6 +51,7 @@ jobs: sccache: "true" - name: Upload wheels + if: github.ref == 'refs/heads/release/**' uses: actions/upload-artifact@v3 with: name: ${{ github.sha }} @@ -69,6 +69,7 @@ jobs: args: --out dist - name: Upload sdist + if: github.ref == 'refs/heads/release/**' uses: actions/upload-artifact@v3 with: name: ${{ github.sha }}