Skip to content

Commit 9e3da57

Browse files
committed
Correctly match the architecture of the current runner for SDK libraries to copy
1 parent feb3d7a commit 9e3da57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ runs:
345345
# note that we need to match current architecture or else
346346
# we will copy the wrong libraries
347347
RES_ARCH_PREFIX="${{ steps.setup.outputs.android-sdk-arch }}"
348-
JQ_RES_ARCH_MATCH=".targetTriples | to_entries[] | select(.key | startswith('${RES_ARCH_PREFIX}')) | .value.swiftResourcesPath"
348+
JQ_RES_ARCH_MATCH=".targetTriples | to_entries[] | select(.key | startswith(\"${RES_ARCH_PREFIX}\")) | .value.swiftResourcesPath"
349349
SWIFT_RESOURCES_ROOT_PATH=$(cat ${SWIFT_ARTIFACTBUNDLE_ROOT}/swift-sdk.json | jq -r "${JQ_RES_ARCH_MATCH}" | head -n 1)
350350
SWIFT_ARTIFACTBUNDLE_RESOURCES_ROOT_PATH="${SWIFT_ARTIFACTBUNDLE_ROOT}/${SWIFT_RESOURCES_ROOT_PATH}"
351351

0 commit comments

Comments
 (0)