From 3f36c33125116e4f821a0f9f26f39ba6d3356606 Mon Sep 17 00:00:00 2001 From: Niklas Klein Date: Fri, 5 Jul 2024 15:21:32 +0200 Subject: [PATCH] Upgrade to actions/setup-java@v4 --- .github/workflows/branches.yml | 4 ++-- .github/workflows/main.yml | 6 +++--- project/GitHubActionsGenerator.scala | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/branches.yml b/.github/workflows/branches.yml index 097c9f0..cdb5e2f 100644 --- a/.github/workflows/branches.yml +++ b/.github/workflows/branches.yml @@ -13,7 +13,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Setup Java JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: sbt distribution: temurin @@ -31,7 +31,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Setup Java JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: sbt distribution: temurin diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 45cf695..1834b58 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Setup Java JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: sbt distribution: temurin @@ -33,7 +33,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Setup Java JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: sbt distribution: temurin @@ -49,7 +49,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Setup Java JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: cache: sbt distribution: temurin diff --git a/project/GitHubActionsGenerator.scala b/project/GitHubActionsGenerator.scala index 5f48c99..cc72d74 100644 --- a/project/GitHubActionsGenerator.scala +++ b/project/GitHubActionsGenerator.scala @@ -5,7 +5,7 @@ object GitHubActionsGenerator { object Step { val SetupJava: Json = Json.obj( "name" := "Setup Java JDK", - "uses" := "actions/setup-java@v3", + "uses" := "actions/setup-java@v4", "with" := Json.obj( "cache" := "sbt", "distribution" := "temurin",