From aabeec2a74edd4679ce5f77a5e713e2f4e84ad14 Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Mon, 22 Jul 2024 23:52:00 +0200 Subject: [PATCH] github actions: try to not use direct path --- .github/workflows/test-and-deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index 26b46437..b6477fb5 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -209,17 +209,22 @@ jobs: - name: Move wheelhouse wheel files to dist run: | + rm dist/* mv wheelhouse/* dist/ rmdir wheelhouse - name: List contents of dist run: ls -R dist + - name: Get the name of the wheel file + id: get-wheel-name + run: echo "::set-output name=wheel-name::$(ls dist/*.whl)" + - name: Archive build artifacts uses: actions/upload-artifact@v1 with: name: dist-artifacts-manylinux-${{ matrix.python }} - path: dist/* + path: ${{ steps.get-wheel-name.outputs.wheel-name }} deploy-test: runs-on: ubuntu-latest