Skip to content

Commit

Permalink
ci: Remove pypi cleanup job (need to do it manually)
Browse files Browse the repository at this point in the history
  • Loading branch information
germainlefebvre4 committed Jan 27, 2025
1 parent 9583a91 commit 0d59f58
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release-feat-dryrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,11 @@ jobs:
poetry publish -r test-pypi
if: needs.release.outputs.new_release_published == 'true'

- name: Clean PyPi release
if: always()
run: |
poetry add pypi-cleanup
poetry run pypi-cleanup --host https://test.pypi.org --username '__token__' --package libtado --do-it
env:
PYPI_CLEANUP_PASSWORD: ${{ secrets.PYPI_TEST_TOKEN }}
# - name: Clean PyPi release
# if: always()
# run: |
# poetry add pypi-cleanup
# poetry run pypi-cleanup --host https://test.pypi.org --username $PYPI_CLEANUP_USERNAME --package libtado --do-it
# env:
# PYPI_CLEANUP_USERNAME: ${{ secrets.PYPI_TEST_USERNAME }}
# PYPI_CLEANUP_PASSWORD: ${{ secrets.PYPI_TEST_TOKEN }}

0 comments on commit 0d59f58

Please sign in to comment.