Skip to content

Commit

Permalink
enable CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BinTianqi committed May 24, 2024
1 parent 9216dd3 commit 4c6731f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Debug APK

on:
push:
paths-ignore:
- '**.md'

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '21'

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

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: app-debug.apk
path: app/build/outputs/apk/debug/app-debug.apk

0 comments on commit 4c6731f

Please sign in to comment.