From b8ef28002719cb990d4f417073414e3decb4f039 Mon Sep 17 00:00:00 2001 From: Zhihui Xia Date: Wed, 10 Jul 2024 14:12:01 -0700 Subject: [PATCH] clean up arn string --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcb3e5a6..d77615f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -165,8 +165,8 @@ jobs: python ../DeviceFarmScript/run_ios_ci.py \ --run_id ${{ github.run_id }} \ --run_attempt ${{ github.run_attempt }} \ - --project_arn $(aws secretsmanager get-secret-value --region us-east-1 --secret-id "ci/DeviceFarm/ProjectArn" --query "SecretString" ) \ - --device_pool_arn $(aws secretsmanager get-secret-value --region us-east-1 --secret-id "ci/DeviceFarm/iOSPoolArn" --query "SecretString" ) \ + --project_arn $(aws secretsmanager get-secret-value --region us-east-1 --secret-id "ci/DeviceFarm/ProjectArn" --query "SecretString" | cut -f2 -d\") \ + --device_pool_arn $(aws secretsmanager get-secret-value --region us-east-1 --secret-id "ci/DeviceFarm/iOSPoolArn" --query "SecretString" | cut -f2 -d\") \ --app_file_path ./output/MqttClient.ipa \ --test_file_path ./workspace/test_bundle.zip \ --test_spec_file_path ./DeviceFarmScript/test_spec.yaml