Skip to content

Commit 1e5f08d

Browse files
committed
Configurable version
1 parent 49a63f5 commit 1e5f08d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/unit-ci.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Unit CI
22

33
on:
44
workflow_call:
5+
inputs:
6+
java-version:
7+
required: false
8+
type: string
9+
default: '17'
510

611
jobs:
712
build:
@@ -10,7 +15,7 @@ jobs:
1015
- uses: actions/checkout@v4
1116
- uses: actions/setup-java@v4
1217
with:
13-
java-version: '17'
18+
java-version: ${{ inputs.java-version }}
1419
distribution: temurin
1520
- uses: gradle/actions/setup-gradle@v4
1621
with:

0 commit comments

Comments
 (0)