Skip to content

Commit 338b39f

Browse files
committed
Change configuration key in Java version matrix
In the Github workflow configuration, the Java version matrix's key was incorrectly set as "java". It has now been corrected to "version". Additionally, the string interpretation is removed from 'matrix.version' in the 'java-version' field to simplify the code syntax.
1 parent a40de95 commit 338b39f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: [ self-hosted, small ]
88
strategy:
99
matrix:
10-
java:
10+
version:
1111
- 6
1212
- 7
1313
- 8
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions/setup-java@v2
3434
with:
3535
distribution: 'zulu'
36-
java-version: "${{ matrix.version }}"
36+
java-version: '${{ matrix.version }}'
3737

3838
- name: Install Dependencies
3939
run: gradle resolveDependencies

0 commit comments

Comments
 (0)