From fbce35d7e670b372f01f2c5a67deb1556be7623a Mon Sep 17 00:00:00 2001 From: soyoka <55011525+soy0ka@users.noreply.github.com> Date: Tue, 16 Jul 2024 19:30:15 +0900 Subject: [PATCH] chore: using $GITHUB_ENV for enviorment variable --- .github/workflows/android.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index a6f55ef..4d36c01 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -51,9 +51,10 @@ jobs: mkdir -p $HOME/android-sdk/cmdline-tools unzip commandlinetools.zip -d $HOME/android-sdk/cmdline-tools mv $HOME/android-sdk/cmdline-tools/cmdline-tools $HOME/android-sdk/cmdline-tools/tools - echo 'export ANDROID_SDK_ROOT=$HOME/android-sdk' >> $GITHUB_ENV - echo 'export PATH=$PATH:$HOME/android-sdk/cmdline-tools/tools/bin' >> $GITHUB_ENV - echo 'export PATH=$PATH:$HOME/android-sdk/platform-tools' >> $GITHUB_ENV + echo 'ANDROID_SDK_ROOT=$HOME/android-sdk' >> $GITHUB_ENV + echo 'PATH=$PATH:$HOME/android-sdk/cmdline-tools/tools/bin' >> $GITHUB_ENV + echo 'PATH=$PATH:$HOME/android-sdk/platform-tools' >> $GITHUB_ENV + source $GITHUB_ENV - name: Install Android SDK packages run: |