We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a8ed03 + e280629 commit 5579993Copy full SHA for 5579993
.github/workflows/cleanup_pypi.yml
@@ -25,7 +25,6 @@ on:
25
required: true
26
options:
27
- pypi-prod-nightly
28
- - pypi-prod
29
- pypi-test
30
31
jobs:
@@ -60,10 +59,9 @@ jobs:
60
59
PYTHON_UNBUFFERED: 1
61
run: |
62
set -x
63
- env_flag=$( [[ ${{ inputs.environment }} == pypi-prod* ]] && echo "--prod" || echo "--test" )
64
uv sync --only-group pypi --no-install-project
65
uv run --no-sync python -u -m duckdb_packaging.pypi_cleanup ${{ inputs.dry-run && '--dry' || '' }} \
66
- $env_flag \
+ ${{ inputs.environment == 'pypi-prod-nightly' && '--prod' || '--test' }} \
67
--username "${{ vars.PYPI_CLEANUP_USERNAME }}" \
68
--max-nightlies ${{ vars.PYPI_MAX_NIGHTLIES }} 2>&1 | tee cleanup_output
69
0 commit comments