diff --git a/.github/workflows/template_publish_non_native.yml b/.github/workflows/template_publish_non_native.yml index beca6fbeb2..ac506828ed 100644 --- a/.github/workflows/template_publish_non_native.yml +++ b/.github/workflows/template_publish_non_native.yml @@ -52,8 +52,10 @@ jobs: TWINE_PASSWORD: ${{ secrets.pypi_password }} TWINE_REPOSITORY: ${{ inputs.pypi_repository }} run: | + source venv/bin/activate python3 -m pip install twine python3 -m twine upload --non-interactive --skip-existing wheelhouse/* + deactivate - name: Upload wheels as artifacts if: ${{ inputs.pypi_repository }} uses: actions/upload-artifact@v4 diff --git a/.github/workflows/template_publish_platform.yml b/.github/workflows/template_publish_platform.yml index 5238f8392e..aba661e76c 100644 --- a/.github/workflows/template_publish_platform.yml +++ b/.github/workflows/template_publish_platform.yml @@ -55,8 +55,10 @@ jobs: TWINE_PASSWORD: ${{ secrets.pypi_password }} TWINE_REPOSITORY: ${{ inputs.pypi_repository }} run: | + source venv/bin/activate python3 -m pip install twine python3 -m twine upload --non-interactive --skip-existing wheelhouse/* + deactivate - name: Upload wheels as artifacts if: ${{ inputs.pypi_repository }} uses: actions/upload-artifact@v4 diff --git a/.github/workflows/template_publish_pure.yml b/.github/workflows/template_publish_pure.yml index 46ee5235b4..57dd7045da 100644 --- a/.github/workflows/template_publish_pure.yml +++ b/.github/workflows/template_publish_pure.yml @@ -40,8 +40,10 @@ jobs: TWINE_PASSWORD: ${{ secrets.pypi_password }} TWINE_REPOSITORY: ${{ inputs.pypi_repository }} run: | + source venv/bin/activate python3 -m pip install twine python3 -m twine upload --non-interactive --skip-existing wheelhouse/* + deactivate - name: Upload wheels as artifacts if: ${{ inputs.pypi_repository }} uses: actions/upload-artifact@v4