-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(CI): add shared setup action steps (#403)
- Loading branch information
1 parent
00b2dd3
commit be0882a
Showing
2 changed files
with
26 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: "Setup CI" | ||
|
||
description: "Set up Java, sbt and cache for CI" | ||
|
||
inputs: | ||
java-version: | ||
description: "The Java version to use" | ||
default: "21" | ||
required: false | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: actions/setup-java@v4 | ||
name: Set up JDK | ||
with: | ||
distribution: "temurin" | ||
java-version: "${{ inputs.java-version }}" | ||
cache: "sbt" | ||
- uses: sbt/setup-sbt@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters