Skip to content

Commit

Permalink
🧪 Allow CI to register multiple distributions
Browse files Browse the repository at this point in the history
This is necessary to allow the smoke test check uploading multiple
packages.
  • Loading branch information
webknjaz committed Dec 6, 2024
1 parent e7723a4 commit 0a0a6ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/reusable-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 0a0a6ae

Please sign in to comment.