From ca3acdf5d0e0ce7e49964f4d209dca8707467e0f Mon Sep 17 00:00:00 2001 From: Travis Thompson Date: Thu, 29 Aug 2024 16:41:33 -0400 Subject: [PATCH] Change action to upload to real pypi --- .github/workflows/package_release.yml | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/package_release.yml b/.github/workflows/package_release.yml index 8534ce2..ba8ad38 100644 --- a/.github/workflows/package_release.yml +++ b/.github/workflows/package_release.yml @@ -27,18 +27,18 @@ jobs: uses: ./.github/workflows/tests.yml with: install_command: "python3 -m pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple messes==${{ needs.release-version.outputs.version }}" - # publish-pypi: - # needs: test-test-pypi - # uses: ./.github/workflows/pypi.yml - # with: - # repository_url: https://upload.pypi.org/legacy/ - # secrets: - # API_TOKEN: ${{ secrets.PYPI_API_TOKEN }} - # test-pypi: - # needs: [release-version, publish-pypi] - # uses: ./.github/workflows/tests.yml - # with: - # install_command: "python3 -m pip install messes==${{ needs.release-version.outputs.version }}" - # publish-documentation: - # needs: test-pypi - # uses: ./.github/workflows/documentation.yml \ No newline at end of file + publish-pypi: + needs: test-test-pypi + uses: ./.github/workflows/pypi.yml + with: + repository_url: https://upload.pypi.org/legacy/ + secrets: + API_TOKEN: ${{ secrets.PYPI_API_TOKEN }} + test-pypi: + needs: [release-version, publish-pypi] + uses: ./.github/workflows/tests.yml + with: + install_command: "python3 -m pip install messes==${{ needs.release-version.outputs.version }}" + publish-documentation: + needs: test-pypi + uses: ./.github/workflows/documentation.yml \ No newline at end of file