Estonian-ID-card-mobile-aut.../.github/workflows/main.yml

34 lines
600 B
YAML
Raw Permalink Normal View History

2021-09-24 20:20:52 +03:00
name: CI
on:
push:
pull_request:
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: run tests
run: ./gradlew test
2021-09-24 20:20:52 +03:00
- name: upload apk
uses: actions/upload-artifact@v2
with:
name: apk
path: MobileAuthApp/app/build/outputs/apk/debug/app-debug.apk