mirror of
https://gitcode.com/gh_mirrors/gh/gh-action-pypi-publish.git
synced 2026-07-02 18:27:49 +00:00
🧪 Allow CI to register multiple distributions
This is necessary to allow the smoke test check uploading multiple packages.
This commit is contained in:
committed by
Sviatoslav Sydorenko
parent
e7723a410e
commit
0a0a6ae824
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user