From b41eaa8bb527ba7c0f883f0c729c8df4e6b4f38f Mon Sep 17 00:00:00 2001 From: Max Rumpf Date: Tue, 5 Oct 2021 21:45:06 +0200 Subject: [PATCH] Switch CI Java to temurin distribution (#540) --- .github/workflows/app-build.yaml | 2 +- .github/workflows/app-lint.yaml | 2 +- .github/workflows/app-publish.yaml | 2 +- .github/workflows/app-test.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/app-build.yaml b/.github/workflows/app-build.yaml index 08dc32c7..b63a704e 100644 --- a/.github/workflows/app-build.yaml +++ b/.github/workflows/app-build.yaml @@ -15,7 +15,7 @@ jobs: - name: Setup Java uses: actions/setup-java@v2 with: - distribution: adopt + distribution: temurin java-version: 11 cache: gradle - name: Assemble debug APKs diff --git a/.github/workflows/app-lint.yaml b/.github/workflows/app-lint.yaml index 3f3df6fe..12c875f6 100644 --- a/.github/workflows/app-lint.yaml +++ b/.github/workflows/app-lint.yaml @@ -16,7 +16,7 @@ jobs: - name: Setup Java uses: actions/setup-java@v2 with: - distribution: adopt + distribution: temurin java-version: 11 cache: gradle - name: Run detekt and lint tasks diff --git a/.github/workflows/app-publish.yaml b/.github/workflows/app-publish.yaml index 449230b3..96e797eb 100644 --- a/.github/workflows/app-publish.yaml +++ b/.github/workflows/app-publish.yaml @@ -15,7 +15,7 @@ jobs: - name: Setup Java uses: actions/setup-java@v2 with: - distribution: adopt + distribution: temurin java-version: 11 - name: Set JELLYFIN_VERSION run: echo "JELLYFIN_VERSION=$(echo ${GITHUB_REF#refs/tags/v} | tr / -)" >> $GITHUB_ENV diff --git a/.github/workflows/app-test.yaml b/.github/workflows/app-test.yaml index 59081c61..dd1efac7 100644 --- a/.github/workflows/app-test.yaml +++ b/.github/workflows/app-test.yaml @@ -16,7 +16,7 @@ jobs: - name: Setup Java uses: actions/setup-java@v2 with: - distribution: adopt + distribution: temurin java-version: 11 cache: gradle - name: Run test and assemble tasks