diff options
author | Álvaro Brey <alvaro.brey@nextcloud.com> | 2022-05-18 17:40:00 +0300 |
---|---|---|
committer | Andy Scherzinger <info@andy-scherzinger.de> | 2022-05-18 18:20:36 +0300 |
commit | ba4f47309a408046c521211367aa8a1cf31cc576 (patch) | |
tree | a311853b87362473410b8762b90bb08bbe932579 /.github | |
parent | 9d016e7005c66248f7d0fa3d60435bb8de5b3598 (diff) |
workflows: use java 11
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/assembleFlavors.yml | 4 | ||||
-rw-r--r-- | .github/workflows/check.yml | 4 | ||||
-rw-r--r-- | .github/workflows/qa.yml | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/assembleFlavors.yml b/.github/workflows/assembleFlavors.yml index 4c5fd592f..cb975d7ac 100644 --- a/.github/workflows/assembleFlavors.yml +++ b/.github/workflows/assembleFlavors.yml @@ -13,11 +13,11 @@ jobs: flavor: [ Generic, Gplay ] steps: - uses: actions/checkout@v3 - - name: set up JDK 8 + - name: set up JDK 11 uses: actions/setup-java@v3 with: distribution: "temurin" - java-version: 8.0 + java-version: 11 - name: Build ${{ matrix.flavor }} run: | echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c724b0cfd..0f1e10a78 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -13,10 +13,10 @@ jobs: task: [ detekt, ktlintCheck ] steps: - uses: actions/checkout@v3 - - name: Set up JDK 8 + - name: Set up JDK 11 uses: actions/setup-java@v3 with: distribution: "temurin" - java-version: 8.0 + java-version: 11 - name: Check ${{ matrix.task }} run: ./gradlew ${{ matrix.task }} diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 4acfd94e9..b8c028da5 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -13,12 +13,12 @@ jobs: id: check-secrets - uses: actions/checkout@v3 if: ${{ steps.check-secrets.outputs.ok == 'true' }} - - name: set up JDK 8 + - name: set up JDK 11 if: ${{ steps.check-secrets.outputs.ok == 'true' }} uses: actions/setup-java@v3 with: distribution: "temurin" - java-version: 8.0 + java-version: 11 - name: Build QA if: ${{ steps.check-secrets.outputs.ok == 'true' }} env: |