Skip to content

Commit

Permalink
Reenable publishing to testpypi from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AnesBenmerzoug committed Oct 29, 2024
1 parent f7365ae commit 912d1ad
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
concurrency:
group: publish-testpypi
# TODO: uncomment once the repository and testpypi are configured
# permissions:
# id-token: write
permissions:
id-token: write
# environment:
# name: testpypi
steps:
Expand All @@ -92,10 +92,9 @@ jobs:
echo "Version was bumped from ${CURRENT_VERSION} to ${NEW_VERSION}!"
poetry build --format=wheel
# TODO: uncomment once the repository and testpypi are configured
# - name: Publish to TestPyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository-url: https://test.pypi.org/legacy/
# print-hash: true
# verbose: true
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
print-hash: true
verbose: true

0 comments on commit 912d1ad

Please sign in to comment.