From eb1dd54e98882974b42ad680183ede222b9ade85 Mon Sep 17 00:00:00 2001 From: rafaelsideguide <150964962+rafaelsideguide@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:29:51 -0300 Subject: [PATCH] Update publish-python-sdk.yml --- .github/workflows/publish-python-sdk.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-python-sdk.yml b/.github/workflows/publish-python-sdk.yml index 2244651..442ac4a 100644 --- a/.github/workflows/publish-python-sdk.yml +++ b/.github/workflows/publish-python-sdk.yml @@ -38,17 +38,17 @@ jobs: echo "Output of VERSION_INCREMENTED: '${{ env.VERSION_INCREMENTED }}'" - name: Set published version environment variable - if: env.VERSION_INCREMENTED == 'true' + if: ${{ env.VERSION_INCREMENTED == 'true' }} run: | - echo "Published Version: ${{ env.VERSION_INCREMENTED }}" + echo "Published Version: ${{ env.VERSION_INCREMENTED }}" - name: Build the package - if: env.VERSION_INCREMENTED == 'true' + if: ${{ env.VERSION_INCREMENTED == 'true' }} run: | python -m build - name: Publish to PyPI - if: env.VERSION_INCREMENTED == 'true' + if: ${{ env.VERSION_INCREMENTED == 'true' }} env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}