From e849eab88e76664efd04d125589a6d5806262653 Mon Sep 17 00:00:00 2001 From: Oleh Formaniuk Date: Sun, 31 Mar 2024 19:01:10 -0700 Subject: [PATCH 1/2] Update ci.yml --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48139aee..73c6e280 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,7 +62,8 @@ jobs: dotnet-version: 3.1.x - uses: actions/setup-java@v4 with: - java-version: '17' # The JDK version to make available on the path. + java-version: '21' # The JDK version to make available on the path. + distribution: 'zulu' - name: Clean package cache as a temporary workaround for https://github.com/actions/setup-dotnet/issues/155 working-directory: ./source run: dotnet clean -c Release && dotnet nuget locals all --clear @@ -144,4 +145,4 @@ jobs: steps: - uses: release-drafter/release-drafter@v5 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 985e854be81d38f0685d5e23093a241acfb08443 Mon Sep 17 00:00:00 2001 From: Oleh Formaniuk Date: Sun, 31 Mar 2024 19:02:40 -0700 Subject: [PATCH 2/2] Update pull_request.yml --- .github/workflows/pull_request.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 97d02eb2..3ad79439 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -60,9 +60,10 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.x - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v4 with: - java-version: '17' # The JDK version to make available on the path. + java-version: '21' # The JDK version to make available on the path. + distribution: 'zulu' - name: Clean package cache as a temporary workaround for https://github.com/actions/setup-dotnet/issues/155 working-directory: ./source run: dotnet clean -c Release && dotnet nuget locals all --clear @@ -136,4 +137,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: Benchmark - path: source/Handlebars.Benchmark/BenchmarkDotNet.Artifacts/results/ \ No newline at end of file + path: source/Handlebars.Benchmark/BenchmarkDotNet.Artifacts/results/