From 69e5a345b75afe825faaed323fcb934e0c14cac0 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Thu, 23 May 2024 15:08:17 -0400 Subject: [PATCH] specify download artifact names --- .github/workflows/gha2.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gha2.yml b/.github/workflows/gha2.yml index 5e05788..cee5897 100644 --- a/.github/workflows/gha2.yml +++ b/.github/workflows/gha2.yml @@ -4,8 +4,9 @@ on: inputs: run-id: description: 'Workflow run ID to download wheel artifacts from' + default: '9212425630' push: - branches: [ install-wheel-test ] + branches: [ install-wheel ] jobs: # This step locally tries out the built wheels smoke-test: @@ -19,16 +20,20 @@ jobs: arch: x86_64 cc: gcc-11 cxx: g++-11 + wheel_name: manylinux2014 - os: macos-12 platform: macosx arch: x86_64 cc: clang cxx: clang++ + wheel_name: macos-x86_64 - os: macos-14 platform: macosx arch: arm64 cc: clang cxx: clang++ + wheel_name: macos-arm64 + fail-fast: false steps: - name: Set up Python 3.11 uses: actions/setup-python@v4 @@ -37,8 +42,9 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v4 with: + name: wheels-${{ matrix.wheel_name }} github-token: ${{ secrets.GITHUB_TOKEN }} - run-id: ${{ inputs.run-id }} + run-id: ${{ inputs.run-id || '9212425630' }} - name: Show self-reported platform run: | sw_vers || /usr/bin/true @@ -53,8 +59,8 @@ jobs: run: | set -x ls -lR - ls -lR wheels-* WHL=$(find . -name 'tiledbsoma-*-cp311-cp311-*${{ matrix.platform }}*_${{ matrix.arch }}.whl') + echo "WHL=$WHL" if [ -z "$WHL" ]; then echo "No wheel found"; exit 1; fi unzip -l $WHL python -m pip install wheel