From 39936e4472e7f8928e087bf753b50ff47ce236ba Mon Sep 17 00:00:00 2001 From: Xavier Olive Date: Fri, 30 Dec 2022 19:53:33 +0100 Subject: [PATCH] fix publish --- .github/workflows/pypi-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index ad8f532..5e22ba1 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -59,7 +59,7 @@ jobs: poetry run twine upload dist/*.whl - name: Build and publish (source) - if: ${{ startsWith(runner.os, 'ubuntu') && env.PYTHON_VERSION == '3.11' }} + if: ${{ startsWith(runner.os, 'ubuntu') && matrix.python-version == '3.11' }} env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}