Skip to content

Commit

Permalink
specify download artifact names
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed May 23, 2024
1 parent 306d3c5 commit 69e5a34
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/gha2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 69e5a34

Please sign in to comment.