Update android.yml
This commit is contained in:
parent
b101462ff7
commit
99eb2fafa0
1 changed files with 4 additions and 14 deletions
18
.github/workflows/android.yml
vendored
18
.github/workflows/android.yml
vendored
|
|
@ -12,17 +12,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout the code
|
||||||
- name: set up JDK 11
|
uses: actions/checkout@v3
|
||||||
uses: actions/setup-java@v3
|
- name: Build the app
|
||||||
with:
|
run: ./gradlew build
|
||||||
java-version: '11'
|
|
||||||
distribution: 'temurin'
|
|
||||||
cache: gradle
|
|
||||||
- uses: gradle/gradle-build-action@v2
|
|
||||||
with:
|
|
||||||
gradle-version: 7.4.2
|
|
||||||
- name: Grant execute permission for gradlew
|
|
||||||
run: chmod +x gradlew
|
|
||||||
- name: Build with Gradle
|
|
||||||
run: ./gradlew --stacktrace build
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue