From 3af14f1d8631fea5f538e8c10fbb2c9ad0c0b612 Mon Sep 17 00:00:00 2001 From: Wendell Smith Date: Fri, 8 Nov 2024 15:33:31 -0500 Subject: [PATCH] chore(ci): Fix python release cycle (#297) --- .github/workflows/python.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 355229a4..f119c30f 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -95,11 +95,15 @@ jobs: - name: Test working-directory: py/tests run: python3 -m pytest + - name: Display structure of dist directory + run: ls -R dist - name: Upload wheels if: "startsWith(github.ref, 'refs/tags/')" uses: actions/upload-artifact@v4 with: - name: wheels + # Ensure we have a different name for every artifact, by using the + # matrix components in the artifact name + name: binary-${{ matrix.type }}-${{ matrix.os }}-${{ matrix.python-version }} path: dist release: @@ -111,7 +115,11 @@ jobs: steps: - uses: actions/download-artifact@v4 with: - name: wheels + pattern: binary-* + # Download them all into the current directory + merge-multiple: true + - name: Display available artifacts + run: ls -R . - name: Publish to GitHub release page uses: softprops/action-gh-release@v2 with: