From 7e28199969ee4ebde100bb720f34780743f4e59f Mon Sep 17 00:00:00 2001 From: Valmo Trindade Date: Thu, 2 Jan 2025 04:32:09 -0300 Subject: [PATCH] added java setup to action --- .github/workflows/pack_monorepo.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pack_monorepo.yaml b/.github/workflows/pack_monorepo.yaml index 173ef20..5523fe5 100644 --- a/.github/workflows/pack_monorepo.yaml +++ b/.github/workflows/pack_monorepo.yaml @@ -12,9 +12,16 @@ jobs: uses: actions/checkout@v4 with: lfs: true - - name: Wrap grandle - run: ./gradlew wrapper - - name: Assemble App + - name: set up JDK 11 + uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: 'temurin' + cache: gradle + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle run: ./gradlew assembleDebug - name: Upload Artifact uses: actions/upload-artifact@v4