Skip to content

Commit

Permalink
Update and rename android-build-master.yml to build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
amberin authored Nov 22, 2023
1 parent 1ce1e76 commit ed775e0
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
name: Build

on:
pull_request:
branches:
- 'master'
push:
branches:
- 'master'

workflow_dispatch:

jobs:
build:
name: Generate APK
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2

- name: Setup JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
distribution: zulu
java-version: 11

- name: Build APK
run: ./gradlew assembleDebug
run: ./gradlew assembleRelease

- name: Upload APK
uses: actions/upload-artifact@v2
with:
name: orgzly-debug-app
name: orgzly-release
path: '**/*.apk'

0 comments on commit ed775e0

Please sign in to comment.