🧪 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
+6 -1
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 }}