diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ec7df6..f68c839 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,10 +9,11 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + - name: Set up JDK 8 + uses: actions/setup-java@v3 with: - java-version: 1.8 + java-version: 8 + distribution: temurin - name: Mount caches uses: actions/cache@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b65c341..200cecb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,10 @@ jobs: ~/.ivy2/cache ~/.cache/coursier key: ${{ runner.os }}-sbt-docs-${{ hashFiles('**/*.sbt') }} - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v3 with: java-version: 12 + distribution: temurin - uses: olafurpg/setup-gpg@v3 if: startsWith(github.ref, 'refs/tags/v') - name: Publish ${{ github.ref }}