From 119fe54da1c8dd6c9718c7382d9e75a99f2e9abd Mon Sep 17 00:00:00 2001 From: tobexyz <40026159+tobexyz@users.noreply.github.com> Date: Sat, 11 Jan 2025 15:20:20 +0100 Subject: [PATCH] chore github action for debug build --- .github/workflows/main.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f0b3c919..6a9a2361 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ name: Deploy Jekyll & Doxygen GitHub Pages dependencies preinstalled on: # Runs on pushes targeting the default branch push: - branches: [ "develop" ] + branches: [ "develop" , "feat/ci" ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -28,6 +28,23 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set Up JDK + uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: '17' + cache: 'gradle' + - name: Change wrapper permissions + run: chmod +x ./yaacc/gradlew + - name: Run gradle build + run: ./yaacc/gradlew build + - name: Upload APK Debug - ${{ env.repository_name }} + uses: actions/upload-artifact@v4 + with: + name: ${{ env.date_today }} - YAACC - APK(s) debug generated + path: ./yaacc/build/outputs/apk/debug/ + + # build pages - name: Setup Pages uses: actions/configure-pages@v4 - name: Build with Jekyll