From a1238617d46276f1fc29808e3e4bc0748831ef2b Mon Sep 17 00:00:00 2001 From: Chad Wilson Date: Mon, 1 Nov 2021 16:44:25 +0800 Subject: [PATCH] Set distribution for Java setup action --- .github/workflows/test_and_build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_and_build.yml b/.github/workflows/test_and_build.yml index f232431..8f6b1fb 100644 --- a/.github/workflows/test_and_build.yml +++ b/.github/workflows/test_and_build.yml @@ -13,9 +13,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v2.3.1 + uses: actions/setup-java@v2 with: java-version: 15 + distribution: adopt - name: Test with Gradle run: ./gradlew assemble check previewGithubRelease: