Skip to content

Commit

Permalink
Fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
adimiz1 committed Sep 18, 2024
1 parent 60f9578 commit d409192
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Android Build and Test

on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
on: [push, pull_request]

jobs:
build:
Expand All @@ -28,14 +22,6 @@ jobs:
distribution: 'adopt'
java-version: '11'

- name: Install command line tools
run: |
sudo mkdir -p $ANDROID_HOME/cmdline-tools
sudo wget "https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip" -O commandlinetools.zip
sudo unzip commandlinetools.zip -d $ANDROID_HOME/cmdline-tools
sudo mv $ANDROID_HOME/cmdline-tools/cmdline-tools $ANDROID_HOME/cmdline-tools/latest
rm commandlinetools.zip
- name: Setup Android SDK
uses: android-actions/setup-android@v2

Expand Down Expand Up @@ -71,15 +57,6 @@ jobs:
# Wait for the emulator to start up
sleep 120
- name: Check ADB Devices
run: adb devices

- name: Check Emulator Version
run: adb shell getprop ro.build.version.sdk

- name: Check Emulator Status
run: adb shell getprop sys.boot_completed

- name: Export CLOUDINARY_URL
run: |
export CLOUDINARY_URL=$(bash tools/get_test_cloud.sh)
Expand Down

0 comments on commit d409192

Please sign in to comment.