Skip to content

Commit

Permalink
Added workflow for GitHub actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
XamDR committed Oct 19, 2022
1 parent c3f8195 commit 5187a10
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build_debug_workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Android Build Release Workflow

on:
push:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11

- name: Build Project
run: ./gradlew assemble

- name: Build Debug APK
run: bash ./gradlew :app:assembleDebug

- name: Upload APK
uses: actions/upload-artifact@v2
with:
name: App
path: ${{ github.workspace}} /app/build/outputs/apk/debug/app-debug.apk

0 comments on commit 5187a10

Please sign in to comment.