From 0a0a6ae824040d7349dd2b2471a7907b86b45074 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Fri, 6 Dec 2024 04:44:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20Allow=20CI=20to=20register=20mul?= =?UTF-8?q?tiple=20distributions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is necessary to allow the smoke test check uploading multiple packages. --- .github/workflows/reusable-smoke-test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable-smoke-test.yml b/.github/workflows/reusable-smoke-test.yml index ac59f08..29f52d5 100644 --- a/.github/workflows/reusable-smoke-test.yml +++ b/.github/workflows/reusable-smoke-test.yml @@ -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 }}