From 93df9b68169287c216c64a1f59bd5fba13236d3a Mon Sep 17 00:00:00 2001 From: Maximilian Schulz Date: Fri, 10 Nov 2023 17:10:26 +0100 Subject: [PATCH] Actually release to test-pypi --- .github/workflows/check-release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index ff548b234..a7927e412 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -78,12 +78,12 @@ jobs: if [ "${{ needs.check-version.outputs.PACKAGE_NAME }}" == "vizro-ai" ]; then echo 'PYPI_TOKEN=${{ secrets.VIZRO_AI_TEST_PYPI_TOKEN }}' >> $GITHUB_ENV fi - # - name: Publish distribution 📦 to PyPI - # uses: pypa/gh-action-pypi-publish@release/v1 - # with: - # repository-url: https://test.pypi.org/legacy/ - # packages-dir: ${{ needs.check-version.outputs.package_name }}/dist - # password: ${{ env.PYPI_TOKEN }} + - name: Publish distribution 📦 to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + repository-url: https://test.pypi.org/legacy/ + packages-dir: ${{ needs.check-version.outputs.package_name }}/dist + password: ${{ env.PYPI_TOKEN }} # - name: Check correct package uploaded to PyPI # run: | # cd "${{ needs.check-version.outputs.package_name }}/dist"