From 6046bbc77978d35f70915d6d1bfdc81ec14ca268 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 1 May 2020 19:04:05 +1000 Subject: [PATCH] re-enable pypi uploads temporarily tagging this as 2.1.25, since these CI changes are required for PyPi, and the packaged versions were made a few revisions back --- .github/workflows/checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index a7c147fb5..28a5f7ad3 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -357,7 +357,7 @@ jobs: path: dist - name: Upload to PyPi Windows - if: matrix.BUILD_TYPE == 'disabled' && startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows-latest' + if: matrix.BUILD_TYPE == 'build' && startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows-latest' shell: cmd env: TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} @@ -375,7 +375,7 @@ jobs: python -m twine upload --non-interactive --skip-existing --verbose ./* - name: Upload to PyPi Linux/Mac OS - if: matrix.BUILD_TYPE == 'disabled' && startsWith(github.ref, 'refs/tags/') && ( matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' ) + if: matrix.BUILD_TYPE == 'build' && startsWith(github.ref, 'refs/tags/') && ( matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' ) env: TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} TWINE_USERNAME: __token__