From ed775e0e939a09b0bdea72ad83641e2ba9e76406 Mon Sep 17 00:00:00 2001 From: Victor Andreasson Date: Wed, 22 Nov 2023 08:14:14 +0100 Subject: [PATCH] Update and rename android-build-master.yml to build.yml --- .../{android-build-master.yml => build.yml} | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) rename .github/workflows/{android-build-master.yml => build.yml} (57%) diff --git a/.github/workflows/android-build-master.yml b/.github/workflows/build.yml similarity index 57% rename from .github/workflows/android-build-master.yml rename to .github/workflows/build.yml index 8a9c29e94..7ed616e54 100644 --- a/.github/workflows/android-build-master.yml +++ b/.github/workflows/build.yml @@ -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'