From 8faf04b6cf190172d8961bb64fa546e9af797ab9 Mon Sep 17 00:00:00 2001 From: Evan Boehs Date: Mon, 10 Oct 2022 13:35:12 -0400 Subject: [PATCH 1/2] Create build action --- .github/workflows/android.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/android.yml diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 00000000..f48c4055 --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,31 @@ +name: Android CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: gradle + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build + - name: Upload APK + uses: actions/upload-artifact@v3.1.0 + with: + name: application + path: app/build/outputs/apk/ From 6e5f214ac10bf5f6b2a64ebf2714d116eaa516da Mon Sep 17 00:00:00 2001 From: Evan Boehs Date: Mon, 10 Oct 2022 13:35:59 -0400 Subject: [PATCH 2/2] Don't abort on lint error --- app/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 548580a0..44c34846 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -73,6 +73,10 @@ android { } } namespace 'bruhcollective.itaysonlab.jetispot' + + lintOptions { + abortOnError false + } } moshi {