🧪 Allow CI to register multiple distributions

This is necessary to allow the smoke test check uploading multiple
packages.
This commit is contained in:
Sviatoslav Sydorenko 2024-12-06 04:44:41 +01:00 committed by Sviatoslav Sydorenko
parent e7723a410e
commit 0a0a6ae824
No known key found for this signature in database
GPG key ID: 9345E8FEA89CA455

View file

@ -97,7 +97,12 @@ jobs:
- name: Build the stub package sdist and wheel distributions
run: python3 -m build
- name: Register the stub package in devpi
run: twine register dist/*.tar.gz
run: |
for dist in dist/*.tar.gz
do
echo "Registering ${dist}..."
twine register "${dist}"
done
env:
TWINE_USERNAME: ${{ env.devpi-username }}
TWINE_PASSWORD: ${{ env.devpi-password }}