Skip to content

Merge pull request #24 from amberin/pipeline #46

Merge pull request #24 from amberin/pipeline

Merge pull request #24 from amberin/pipeline #46

name: Build
on:
pull_request:
branches:
- 'master'
push:
branches:
- 'master'
workflow_dispatch:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: Generate APK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: wardvl/[email protected]
with:
debug_keystore: ${{ secrets.APK_SIGNING_KEYSTORE_FILE }}
- name: Setup JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- name: Build APK
run: ./gradlew assembleDebug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload APK
uses: actions/upload-artifact@v2
with:
name: orgzly-debug-app
path: '**/*.apk'