diff options
| author | Michael Williamson <mike@zwobble.org> | 2022-09-19 14:51:27 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2022-09-19 15:24:57 +0100 |
| commit | 34369577ecf718508f730362f11e841511d2f356 (patch) | |
| tree | a53c410c9d300d65d744df6b44e8a9da64527cce /.github | |
| parent | a6b7cd6c208843b66fdce37044bc8a4081ad9eb8 (diff) | |
Only upload artifacts when building wheels
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5d405f..e9dac3a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -128,5 +128,6 @@ jobs: python -m cibuildwheel --only ${{ matrix.cibw-only }} --print-build-identifiers - uses: actions/upload-artifact@v2 + if: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/') }} with: path: ./wheelhouse/*.whl |
