From a356c18ec9d30c67e1616bf4e2cfb0b3747261b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20August=C3=BDn?= Date: Tue, 12 Sep 2023 21:29:24 +0200 Subject: [PATCH] chore: deprecated olafurpg/setup-scala replaced --- .github/workflows/ci.yml | 6 ++++-- .github/workflows/release.yml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb9d433..9061fda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,10 @@ jobs: fetch-depth: 100 - name: Fetch tags run: git fetch --depth=100 origin +refs/tags/*:refs/tags/* - - uses: olafurpg/setup-scala@v14 + - uses: actions/setup-java@v3 with: - java-version: adopt@1.11 + distribution: temurin + java-version: 8 + cache: sbt - name: sbt ci ${{ github.ref }} run: ./sbt ci diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9af66c9..062d29b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,9 +13,11 @@ jobs: fetch-depth: 100 - name: Fetch tags run: git fetch --depth=100 origin +refs/tags/*:refs/tags/* - - uses: olafurpg/setup-scala@v14 + - uses: actions/setup-java@v3 with: - java-version: adopt@1.11 + distribution: temurin + java-version: 8 + cache: sbt - name: sbt ci-release ${{ github.ref }} run: ./sbt ci-release env: