Update android.yml

This commit is contained in:
nuclearfog 2023-05-10 18:49:30 +00:00 committed by GitHub
parent 67349d6743
commit 0f919ae3b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,16 +9,24 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v2
- uses: joschi/setup-jdk@v2
with:
java-version: '11'
distribution: 'adopt'
java-version: '11'
architecture: 'x64'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1