From 789e348d421eb76d2ef43be595084d18b95eb843 Mon Sep 17 00:00:00 2001 From: Brendan O'Donoghue Date: Wed, 29 May 2024 16:59:52 +0100 Subject: [PATCH] upload artifact to github even if not deploying --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 89e9bc8..d9f8871 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -129,7 +129,7 @@ jobs: pip install wheelhouse/*whl --force-reinstall pytest - name: Upload artifacts to github - if: ${{env.DEPLOY == 'True' && startsWith(matrix.os, 'windows')}} + if: ${{ startsWith(matrix.os, 'windows') }} uses: actions/upload-artifact@v4 with: name: wheels-${{ matrix.os }}-${{ matrix.python-version }} @@ -184,7 +184,6 @@ jobs: python -m build -Csetup-args="-Dlink_blas_statically=True" --outdir=wheelhouse - name: Upload artifacts to github - if: ${{env.DEPLOY == 'True'}} uses: actions/upload-artifact@v4 with: name: wheels-${{ matrix.os }}-${{ matrix.python-version }}