diff --git a/.github/workflows/master-codecov.yml b/.github/workflows/master-codecov.yml index a97faf7f..f2eef68d 100644 --- a/.github/workflows/master-codecov.yml +++ b/.github/workflows/master-codecov.yml @@ -8,9 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: olafurpg/setup-scala@v14 + - uses: actions/setup-java@v4 with: - java-version: adopt@1.11 + distribution: adopt + java-version: 11 - uses: actions/cache@v4 with: path: ~/.ivy2/cache diff --git a/.github/workflows/master-release.yml b/.github/workflows/master-release.yml index 1b9d2f28..4979a49b 100644 --- a/.github/workflows/master-release.yml +++ b/.github/workflows/master-release.yml @@ -10,9 +10,10 @@ jobs: steps: - uses: actions/checkout@v4 - run: git fetch --prune --unshallow - - uses: olafurpg/setup-scala@v14 + - uses: actions/setup-java@v4 with: - java-version: adopt@1.8 + distribution: adopt + java-version: 8 - run: | sudo apt-get update && sudo apt-get -y install gnupg2 mkdir ~/.gnupg && chmod 700 ~/.gnupg diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 63d41a02..b91332eb 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - java: [8, 11] + java: ['8', '11'] scala: - 2.12.18 - 2.12.19 @@ -16,9 +16,10 @@ jobs: - 2.13.13 steps: - uses: actions/checkout@v4 - - uses: olafurpg/setup-scala@v14 + - uses: actions/setup-java@v4 with: - java-version: adopt@1.${{matrix.java}} + distribution: adopt + java-version: ${{matrix.java}} - uses: actions/cache@v4 with: path: ~/.ivy2/cache @@ -35,9 +36,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: olafurpg/setup-scala@v14 + - uses: actions/setup-java@v4 with: - java-version: adopt@1.11 + distribution: adopt + java-version: 11 - uses: actions/cache@v4 with: path: ~/.ivy2/cache