Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
ci: add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rushiiMachine committed Apr 1, 2022
1 parent 67583c3 commit 3c2eaab
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build APK

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

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

- name: Build project with Gradle
run: chmod +x ./gradlew && ./gradlew app:assembleDebug

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

0 comments on commit 3c2eaab

Please sign in to comment.