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.
1 parent 1cd39bb commit 176c6bcCopy full SHA for 176c6bc
.github/workflows/cleanup_pypi.yml
@@ -25,6 +25,7 @@ on:
25
required: true
26
options:
27
- pypi-prod-nightly
28
+ - pypi-prod
29
- pypi-test
30
31
jobs:
@@ -59,10 +60,10 @@ jobs:
59
60
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
- # TODO: set test/prod flag according to env (inputs.environment == 'production.pypi' && '--prod' || '--test')
65
uv run --no-sync python -u -m duckdb_packaging.pypi_cleanup ${{ inputs.dry-run && '--dry' || '' }} \
- --test \
66
+ $env_flag \
67
--username "${{ vars.PYPI_CLEANUP_USERNAME }}" \
68
--max-nightlies ${{ vars.PYPI_MAX_NIGHTLIES }} 2>&1 | tee cleanup_output
69
0 commit comments