Skip to content

Commit 795c10f

Browse files
authored
Update build.yml
1 parent 5bfcc0e commit 795c10f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ jobs:
1717
- name: Set up JDK 8
1818
uses: actions/setup-java@v4
1919
with:
20-
java-version: 8
21-
distribution: temurin
20+
distribution: 'temurin'
21+
java-version: '8'
2222

2323
- name: Install Ant
24-
run: sudo apt-get install -y ant
24+
run: sudo apt-get update && sudo apt-get install -y ant
2525

2626
- name: Install Android SDK (legacy)
2727
run: |
2828
wget https://dl.google.com/android/repository/tools_r25.2.5-linux.zip -O sdk-tools.zip
2929
unzip -q sdk-tools.zip -d $HOME/android-sdk
3030
export ANDROID_HOME=$HOME/android-sdk
31-
echo "sdk.dir=$ANDROID_HOME" > ant.properties
31+
echo "sdk.dir=$ANDROID_HOME" > local.properties
3232
echo "ANDROID_HOME=$ANDROID_HOME" >> $GITHUB_ENV
3333
echo "$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools" >> $GITHUB_PATH
3434
35-
# instalar Google APIs nivel 15
36-
yes | $ANDROID_HOME/tools/android update sdk --no-ui --all --filter "addon-google_apis-google-15"
35+
# instalar plataforma Android 15 y Google APIs
36+
yes | $ANDROID_HOME/tools/android update sdk --no-ui --all --filter "android-15,addon-google_apis-google-15"
3737
3838
- name: Build APK with Ant
3939
run: |

0 commit comments

Comments
 (0)