mirror of
https://github.com/TanelOrumaa/Estonian-ID-card-mobile-authenticator-POC.git
synced 2024-11-16 10:50:59 +02:00
33 lines
585 B
YAML
33 lines
585 B
YAML
|
name: CI
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ main ]
|
||
|
pull_request:
|
||
|
branches: [ main ]
|
||
|
|
||
|
workflow_dispatch:
|
||
|
|
||
|
defaults:
|
||
|
run:
|
||
|
working-directory: ./MobileAuthApp
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: checkout
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: gradlew permission
|
||
|
run: chmod +x ./gradlew
|
||
|
|
||
|
- name: run gradlew
|
||
|
run: ./gradlew assembleDebug
|
||
|
|
||
|
- name: upload apk
|
||
|
uses: actions/upload-artifact@v2
|
||
|
with:
|
||
|
name: apk
|
||
|
path: MobileAuthApp/app/build/outputs/apk/debug/app-debug.apk
|