From a7260b277e3336baf3eaaf99e4edb7d4fc448e56 Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Mon, 17 Jan 2022 14:28:53 -0700 Subject: [PATCH] Specify mandatory 'distribution' arg for setup-java --- .github/workflows/pr-build-scan-comment.yml | 1 + README.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/pr-build-scan-comment.yml b/.github/workflows/pr-build-scan-comment.yml index 3f2333a..da4a735 100644 --- a/.github/workflows/pr-build-scan-comment.yml +++ b/.github/workflows/pr-build-scan-comment.yml @@ -9,6 +9,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-java@v2 with: + distribution: temurin java-version: 11 - uses: ./ - id: gradle diff --git a/README.md b/README.md index eca0329..07e7685 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-java@v2 with: + distribution: temurin java-version: 11 - name: Setup Gradle @@ -306,6 +307,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-java@v2 with: + distribution: temurin java-version: 11 - uses: gradle/gradle-build-action@v2 - id: gradle