Skip to content

Commit

Permalink
chore: using $GITHUB_ENV for enviorment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
soy0ka committed Jul 16, 2024
1 parent 9fa6186 commit fbce35d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit fbce35d

Please sign in to comment.