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

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-toree.git


The following commit(s) were added to refs/heads/master by this push:
     new dc20b163 [TOREE-561] Install sbt in GitHub Actions (#227)
dc20b163 is described below

commit dc20b1639fbd46a117594a435323475a5189155b
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Feb 20 11:30:49 2025 +0100

    [TOREE-561] Install sbt in GitHub Actions (#227)
    
    * fix issue with missing sbt in build.yml
    
    * remove sbt launcher
---
 .github/workflows/build.yml | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f9fa3694..b39afbee 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -41,18 +41,17 @@ jobs:
       TEST_DILATION: 3
     steps:
     - name: Checkout
-      uses: actions/checkout@v2
+      uses: actions/checkout@v4
       with:
         clean: true
-    - name: Checkout
-      uses: actions/setup-java@v2
+    - name: Setup Java
+      uses: actions/setup-java@v4
       with:
         distribution: 'temurin'
         java-version: ${{ matrix.java }}
-    - name: Add SBT launcher
-      run: |
-        mkdir -p $HOME/.sbt/launchers/1.3.12
-        curl -L -o $HOME/.sbt/launchers/1.3.12/sbt-launch.jar 
https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/1.3.12/sbt-launch.jar
+        cache: sbt
+    - name: Install sbt
+      uses: sbt/setup-sbt@v1        
     - name: Build
       run: |
         make clean release

Reply via email to