mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 22:55:46 +03:00
Build CI with Java 8 and 11
Signed-off-by: Hannes Achleitner <hannes.software@gmx.at>
This commit is contained in:
parent
4e91f9bd9a
commit
0db8057cdd
1 changed files with 5 additions and 3 deletions
8
.github/workflows/assembleFlavors.yml
vendored
8
.github/workflows/assembleFlavors.yml
vendored
|
@ -10,13 +10,15 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
java_version: [ 8, 11 ]
|
||||
flavor: [ Generic, Gplay ]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
- name: set up JDK ${{ matrix.java_version }}
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 1.8
|
||||
distribution: "adopt"
|
||||
java-version: ${{ matrix.java_version }}
|
||||
- name: Build ${{ matrix.flavor }}
|
||||
run: |
|
||||
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties
|
||||
|
|
Loading…
Reference in a new issue