From 30e54860ce33334ee4937e27ff8895364b664402 Mon Sep 17 00:00:00 2001 From: dogdduddy <32217176+dogdduddy@users.noreply.github.com> Date: Tue, 7 Mar 2023 21:07:29 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20apk=20=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/android.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 6b1f75d1..b05848f6 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -2,9 +2,9 @@ name: Android CI on: push: - branches: [ "master" ] + branches: [ "develop" ] pull_request: - branches: [ "master" ] + branches: [ "develop" ] jobs: build: @@ -36,3 +36,21 @@ jobs: env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required if: always() # Pick up events even if the job fails or is canceled. + + apk: + name: Generate APK + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Build debug APK + run: bash ./gradlew assembleDebug --stacktrace + - name: Upload APK + uses: actions/upload-artifact@v1 + with: + name: app + path: app/build/outputs/apk/debug