Skip to content

Commit

Permalink
Change action to upload to real pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
ptth222 committed Aug 29, 2024
1 parent a2f8e9c commit ca3acdf
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/package_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

0 comments on commit ca3acdf

Please sign in to comment.