Skip to content

Commit

Permalink
Test apk
Browse files Browse the repository at this point in the history
  • Loading branch information
odmfl authored Jan 4, 2023
1 parent 23b19ab commit 1727965
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

name: Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew assembleDebug

- name: Upload APK
uses: actions/[email protected]
with:
name: APK
path: app/build/outputs/apk/debug/app-debug.apk

- name: Upload lint report
uses: actions/[email protected]
with:
name: Lint report
path: app/build/reports/lint-results-debug.html

0 comments on commit 1727965

Please sign in to comment.