From 8e61509140983f9b38878ff3c61864451fd7ec67 Mon Sep 17 00:00:00 2001 From: Kichura <68134602+Kichura@users.noreply.github.com> Date: Thu, 13 Oct 2022 22:18:19 +0200 Subject: [PATCH] Ensure setup-java uses temurin instead of blank value. (#205) --- .github/workflows/build.yml | 3 ++- .github/workflows/publish.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c43a83..fb9332b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,8 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: - java-version: 17 + distribution: 'temurin' + java-version: 17 - uses: actions/cache@v3 with: path: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b89564d..c03e10e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,8 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: - java-version: 17 + distribution: 'temurin' + java-version: 17 - name: build and publish env: CURSEFORGE_API_KEY: ${{ secrets.CREEPER_CF }}