Skip to content

Commit

Permalink
Create build-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hoc081098 authored Oct 10, 2021
1 parent d2411fb commit b99b4f0
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build CI

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

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

- name: Set up JDKd
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Make gradlew executable
run: chmod +x ./gradlew

# - name: Spotless check
# run: ./gradlew spotlessCheck

- name: Build debug APK
run: ./gradlew assembleDebug --warning-mode all --stacktrace

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

0 comments on commit b99b4f0

Please sign in to comment.