From 34369577ecf718508f730362f11e841511d2f356 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 19 Sep 2022 14:51:27 +0100 Subject: Only upload artifacts when building wheels --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github/workflows') 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 -- cgit v1.2.3