Skip to content

Commit

Permalink
Create build_debug.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Degl1 authored Dec 2, 2022
1 parent 9af372d commit 51cf671
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/build_debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Build Debug APK

on:
push:
branches:
- '*'
paths-ignore:
- '**.md'
pull_request:
branches:
- '*'
paths-ignore:
- '**.md'
workflow_dispatch:


jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Check out repository
uses: actions/[email protected]
with:
submodules: true

- name: Set up Java 11
uses: actions/[email protected]
with:
java-version: 11
distribution: 'adopt'
cache: gradle

- name: Grant execution permission to Gradle Wrapper
run: chmod +x gradlew

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

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

0 comments on commit 51cf671

Please sign in to comment.