From c5d0c4f1be9e1bb0a1d52e52bce502cc84e869a6 Mon Sep 17 00:00:00 2001 From: Ryan Bourdais <67397011+ryanbourdais@users.noreply.github.com> Date: Mon, 10 Apr 2023 09:53:01 -0500 Subject: [PATCH] fix: fixed xcode sdk install (#28) --- .circleci/test-deploy.yml | 8 +++++++- src/scripts/install-sdk.sh | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.circleci/test-deploy.yml b/.circleci/test-deploy.yml index d71340b..e23d8bd 100644 --- a/.circleci/test-deploy.yml +++ b/.circleci/test-deploy.yml @@ -9,7 +9,7 @@ filters: &filters jobs: integration-test-macos: macos: - xcode: 12.5.1 + xcode: 14.2.0 steps: - checkout - flutter/install_sdk_and_pub: @@ -18,6 +18,9 @@ jobs: app-dir: ./sample - flutter/install_ios_gem: app-dir: ./sample + - run: + name: 'check that the sdk is installed properly' + command: cd sample && flutter doctor && rbenv version integration-test-linux: executor: name: android/android-machine @@ -31,6 +34,9 @@ jobs: app-dir: ./sample - flutter/install_android_gem: app-dir: ./sample + - run: + name: 'check that the sdk is installed properly' + command: cd sample && flutter doctor && rvm version workflows: test-deploy: jobs: diff --git a/src/scripts/install-sdk.sh b/src/scripts/install-sdk.sh index 5f2daa4..dd1fc7a 100644 --- a/src/scripts/install-sdk.sh +++ b/src/scripts/install-sdk.sh @@ -18,8 +18,9 @@ if [ ! -d "$INSTALL_LOCATION/flutter" ]; then fi fi -echo "export PATH=$INSTALL_LOCATION/flutter/bin:$PATH" >> "$BASH_ENV" +echo "export PATH=$INSTALL_LOCATION/flutter/bin:\$PATH" >> "$BASH_ENV" # shellcheck source=/dev/null source "$BASH_ENV" which flutter +