Skip to content

Update android.yml

Update android.yml #3

Workflow file for this run

name: Android CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17 # Update to JDK 17
uses: actions/setup-java@v4
with:
java-version: '17' # Switch to Java 17
distribution: 'temurin' # Use the Temurin distribution
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build