From db067ab9496b234a512dbfcbd8c026fe252e378d Mon Sep 17 00:00:00 2001 From: Kush Trivedi <44091822+kushthedude@users.noreply.github.com> Date: Fri, 9 Apr 2021 11:05:05 +0530 Subject: [PATCH] fix: add distribution for server_tests job (#3799) * fix: add distribution for server_tests job * fix --- .github/workflows/pull_request.yml | 1 + .github/workflows/snapshot_release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 35c1f2ea0..5a98f4f72 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -56,6 +56,7 @@ jobs: - name: Set up Java ${{ matrix.java }} uses: actions/setup-java@v2 with: + distribution: 'adopt' java-version: ${{ matrix.java }} - name: Configure connections to databases diff --git a/.github/workflows/snapshot_release.yml b/.github/workflows/snapshot_release.yml index 82bba3fd6..2af7074c3 100644 --- a/.github/workflows/snapshot_release.yml +++ b/.github/workflows/snapshot_release.yml @@ -125,6 +125,7 @@ jobs: - name: Set up JDK 1.8 uses: actions/setup-java@v2 with: + distribution: 'adopt' java-version: 1.8 - name: Install genisoimage and jq