MOB-9 create apk with github action

This commit is contained in:
Henrik Lepson 2021-09-24 20:20:52 +03:00 committed by GitHub
parent 1da4466e1c
commit 724ff0a869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 0 deletions

32
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,32 @@
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