Skip to content

Commit

Permalink
Merge pull request #9 from bayu07750/setup-ci
Browse files Browse the repository at this point in the history
setup ci
  • Loading branch information
bayu07750 authored Aug 3, 2023
2 parents bb4dbbf + c09a984 commit 4ed6383
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on:
push:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: set up JDK
uses: actions/setup-java@v3
with:
java-version: "11"
distribution: "temurin"

- name: Build App
run: ./gradlew assembleDebug --no-build-cache

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: app-debug
path: app/build/outputs/apk/debug/app-debug.apk
20 changes: 20 additions & 0 deletions .github/workflows/Check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: set up JDK
uses: actions/setup-java@v3
with:
java-version: "11"
distribution: "temurin"

- name: build
run: ./gradlew build

0 comments on commit 4ed6383

Please sign in to comment.