diff --git a/ci/acquire_sdk.sh b/ci/acquire_sdk.sh index 323599b2..edced959 100755 --- a/ci/acquire_sdk.sh +++ b/ci/acquire_sdk.sh @@ -23,6 +23,8 @@ ARCHIVE_FORMAT="zip" if [[ $SDK_TARGET == "macos-x86-64" ]]; then ARTIFACT_INDEX=0 +elif [[ $SDK_TARGET == "macos-aarch64" ]]; then + ARTIFACT_INDEX=1 elif [[ $SDK_TARGET == "linux-x86-64" ]]; then ARTIFACT_INDEX=2 else @@ -30,6 +32,10 @@ else exit 1 fi +# @ivanv: should assert that the SDK target matches what we expect after +# we actually get the artifact. Or, even better, we find a way to extract +# the artifact ID that matches our target + ARTIFACT_ID=`curl \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${GITHUB_TOKEN}"\