Skip to content

Commit

Permalink
Added CI for debug apk build using Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
debz-g authored Dec 9, 2022
1 parent 220db59 commit cd6e9c8
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/anisearch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build and Test

on:
push:
branches: [ master ]

workflow_dispatch:

jobs:

build_job:
name: Building the apk
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout
uses: actions/[email protected]
- name: Restore Cache
uses: actions/[email protected]
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Assemble Debug
run: ./gradlew assembleDebug

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

0 comments on commit cd6e9c8

Please sign in to comment.