Skip to content

Commit ca3acdf

Browse files
committed
Change action to upload to real pypi
1 parent a2f8e9c commit ca3acdf

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/package_release.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ jobs:
2727
uses: ./.github/workflows/tests.yml
2828
with:
2929
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 }}"
30-
# publish-pypi:
31-
# needs: test-test-pypi
32-
# uses: ./.github/workflows/pypi.yml
33-
# with:
34-
# repository_url: https://upload.pypi.org/legacy/
35-
# secrets:
36-
# API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
37-
# test-pypi:
38-
# needs: [release-version, publish-pypi]
39-
# uses: ./.github/workflows/tests.yml
40-
# with:
41-
# install_command: "python3 -m pip install messes==${{ needs.release-version.outputs.version }}"
42-
# publish-documentation:
43-
# needs: test-pypi
44-
# uses: ./.github/workflows/documentation.yml
30+
publish-pypi:
31+
needs: test-test-pypi
32+
uses: ./.github/workflows/pypi.yml
33+
with:
34+
repository_url: https://upload.pypi.org/legacy/
35+
secrets:
36+
API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
37+
test-pypi:
38+
needs: [release-version, publish-pypi]
39+
uses: ./.github/workflows/tests.yml
40+
with:
41+
install_command: "python3 -m pip install messes==${{ needs.release-version.outputs.version }}"
42+
publish-documentation:
43+
needs: test-pypi
44+
uses: ./.github/workflows/documentation.yml

0 commit comments

Comments
 (0)