Context
We should add a step to publish to test-pypi that always runs, and set up the workflow to run nightly as a dry-run so we can see its current status before attempting a release.
- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
skip-existing: true
schedule:
- cron: '30 5 * * *'
...
env:
# Constants
VERSION: ${{ inputs.version || '100.10.0.dev0' }}
FOLLOWING_VERSION: ${{ inputs.following_version || '' }}
DRY_RUN: ${{ inputs.dry_run || 'false' }}
Definition of done
Update release-python workflows.
Pitfalls
None