Skip to content

Commit

Permalink
use ANDROID_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Dec 18, 2024
1 parent fb9d172 commit 4fb91a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/setup-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ runs:
unzip -q /tmp/android-sdk.zip -d /opt/android-sdk/cmdline-tools
rm /tmp/android-sdk.zip
mv /opt/android-sdk/cmdline-tools/cmdline-tools /opt/android-sdk/cmdline-tools/latest
export ANDROID_SDK_ROOT=/opt/android-sdk/cmdline-tools/latest
echo "ANDROID_SDK_ROOT=$ANDROID_SDK_ROOT" >> $GITHUB_ENV
echo "$ANDROID_SDK_ROOT/bin" >> $GITHUB_PATH
export ANDROID_HOME=/opt/android-sdk/cmdline-tools/latest
echo "ANDROID_HOME=$ANDROID_HOME" >> $GITHUB_ENV
echo "$ANDROID_HOME/bin" >> $GITHUB_PATH
if: matrix.config == 'android'

- name: Configure Android SDK
Expand Down

0 comments on commit 4fb91a9

Please sign in to comment.