Fix GitHub Actions build running out of disk space

This commit fixes the GitHub Actions build running out of disk space by removing the existing NDK image as we already install that manually.
This commit is contained in:
◱ PixelyIon 2020-04-14 23:06:36 +05:30 committed by ◱ PixelyIon
parent 7a35d5a34c
commit 11e24620b8

View File

@ -5,9 +5,6 @@ on: push
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: circleci/android:api-29-ndk
options: -u root
env: env:
JVM_OPTS: -Xmx6G JVM_OPTS: -Xmx6G
@ -36,9 +33,6 @@ jobs:
- name: Setup Environment for Gradle - name: Setup Environment for Gradle
run: chmod +x gradlew run: chmod +x gradlew
- name: Install CMake from Android SDK Manager
run: yes | sdkmanager --install "ndk;21.0.6113669" "cmake;3.10.2.4988404" | grep -v = || true
- name: Android Lint - name: Android Lint
run: ./gradlew --stacktrace lint run: ./gradlew --stacktrace lint