From 9c7524175a33bbcc1f3348fe79ffc05000b0e32c Mon Sep 17 00:00:00 2001 From: Cindy Green Date: Thu, 18 Jul 2024 15:38:52 -0400 Subject: [PATCH] Makes a directory and sets env variables and reloads the github env. --- .github/workflows/maestro-tests.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maestro-tests.yaml b/.github/workflows/maestro-tests.yaml index 337dd9555..e4c283655 100644 --- a/.github/workflows/maestro-tests.yaml +++ b/.github/workflows/maestro-tests.yaml @@ -21,10 +21,10 @@ jobs: - name: Set up environment variables run: | - echo "ANDROID_HOME=$HOME/android-sdk" >> $GITHUB_ENV - echo "PATH=$PATH:$HOME/android-sdk/emulator:$HOME/android-sdk/platform-tools:$HOME/android-sdk/cmdline-tools/latest/bin" >> $GITHUB_ENV - echo "ANDROID_SDK_ROOT=$HOME/android-sdk" >> $GITHUB_ENV - echo "ANDROID_AVD_HOME=$HOME/.android/avd" >> $GITHUB_ENV + mkdir -p $HOME/lib/android/sdk + echo "ANDROID_HOME=$HOME/lib/android/sdk" >> $GITHUB_ENV + echo "PATH=$PATH:$ANDROID_HOME/emulator" >> $GITHUB_ENV + echo "PATH=$PATH:$ANDROID_HOME/platform-tools" >> $GITHUB_ENV source $GITHUB_ENV - name: Install Maestro