mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-12-26 17:12:08 -05:00
🧪 Allow CI to register multiple distributions
This is necessary to allow the smoke test check uploading multiple packages.
This commit is contained in:
parent
e7723a410e
commit
0a0a6ae824
1 changed files with 6 additions and 1 deletions
7
.github/workflows/reusable-smoke-test.yml
vendored
7
.github/workflows/reusable-smoke-test.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue