This is an automated email from the ASF dual-hosted git repository.

mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j-scala.git


The following commit(s) were added to refs/heads/master by this push:
     new 2a1c581  ci: setup-java sbt cache
     new 774e085  Merge pull request #23 from sullis/ci-sbt-cache
2a1c581 is described below

commit 2a1c5811a1504c399136ed11d72b9461f1b0e4de
Author: Sean C. Sullivan <[email protected]>
AuthorDate: Sat Jul 9 12:02:36 2022 -0700

    ci: setup-java sbt cache
    
    https://github.com/actions/setup-java/blob/main/README.md
---
 .github/workflows/ci.yml | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f1f9fcd..df3fc9a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -37,16 +37,6 @@ jobs:
       with:
         java-version: ${{ matrix.java }}
         distribution: 'zulu'
-    - name: Cache sbt
-      uses: actions/cache@v2
-      with:
-        path: |
-          ~/.sbt
-          ~/.ivy2/cache
-          ~/.coursier/cache/v1
-          ~/.cache/coursier/v1
-          ~/AppData/Local/Coursier/Cache/v1
-          ~/Library/Caches/Coursier/v1
-        key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ 
hashFiles('project/build.properties') }}
+        cache: 'sbt'
     - name: Build
       run: sbt ++${{ matrix.scala }} test

Reply via email to