Skip to content

Commit

Permalink
Change configuration key in Java version matrix
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
meanmail committed Jan 25, 2024
1 parent a40de95 commit 338b39f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: [ self-hosted, small ]
strategy:
matrix:
java:
version:
- 6
- 7
- 8
Expand All @@ -33,7 +33,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: "${{ matrix.version }}"
java-version: '${{ matrix.version }}'

- name: Install Dependencies
run: gradle resolveDependencies
Expand Down

0 comments on commit 338b39f

Please sign in to comment.