From 44f905a7e09e757937df4233f8ef9912eb151179 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste <87148630+Jean-BaptisteC@users.noreply.github.com> Date: Sun, 25 Aug 2024 14:11:59 +0200 Subject: [PATCH] Add workflow to build debug apk --- .github/workflows/main.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..a3e78a1 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,28 @@ +--- +name: Build debug APK +on: + push: + branches: + - develop + pull_request: + branches: + - develop + workflow_dispatch: +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout the code + uses: actions/checkout@v4 + - name: Setup Java JDK + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 17 + - name: Generate debug build + run: ./gradlew assembleDebug + - name: Upload APK + uses: actions/upload-artifact@v4 + with: + name: app_debug + path: app/build/outputs/apk/dev/debug/app-dev-debug.apk