mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 21:25:35 +03:00
417dee2535
Ref: https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/ tl;dr: AdoptOpenJDK is discontinued and recommendation is to use Eclipse Temurin instead Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
24 lines
750 B
YAML
24 lines
750 B
YAML
name: "Assemble"
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master, stable-* ]
|
|
|
|
jobs:
|
|
flavor:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
flavor: [ Generic, Gplay, Huawei ]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: set up JDK 11
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: "temurin"
|
|
java-version: 11
|
|
- name: Build ${{ matrix.flavor }}
|
|
run: |
|
|
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties
|
|
./gradlew assemble${{ matrix.flavor }}
|