diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a1d2da6..e8f6874 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -87,22 +87,22 @@ jobs: - name: Set up Java uses: actions/setup-java@v4 with: - distribution: zulu - java-version: 21 + distribution: temurin + java-version: 18 - name: Cache Gradle dependencies uses: actions/cache@v3 with: path: ~/.gradle/caches - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + key: ${{ runner.os }}-gradle-18debug-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} restore-keys: | - ${{ runner.os }}-gradle- + ${{ runner.os }}-gradle-18debug # Step 9: Build the APK - name: Build APK run: | cd app-release - ./gradlew assembleRelease + ./gradlew assembleDebug - name: Find APK Files run: find app-release -name "*.apk"