From 95a348494452e5083fe99bb3a3317cf96cff5f4b Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Mon, 22 Jul 2024 13:35:45 +0200 Subject: [PATCH] update handling of tar files in deploy-test --- .github/workflows/test-and-deploy.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index a109cc58..5db53026 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -272,10 +272,16 @@ jobs: - name: Extract tar.gz files run: | for artifact in dist/*; do - tar -xzf "$artifact" -C dist - rm "$artifact" + if [[ "$artifact" == *.tar.gz ]]; then + tar -xzf "$artifact" -C dist + rm "$artifact" + fi done + - name: Inspect wheel files + run: | + ls -R dist + - name: Move files from subdirectories run: | for subdirectory in dist/*/; do