Skip to content

Commit b713baf

Browse files
committed
[CI] Simplify.
1 parent b5df1f8 commit b713baf

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
language: [ 'java' ]
37+
java: [ '17' ]
3738

3839
steps:
3940
- name: Checkout code
@@ -56,12 +57,7 @@ jobs:
5657
uses: actions/setup-java@v4
5758
with:
5859
distribution: 'zulu'
59-
java-version: 17
60-
- name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION
61-
run: |
62-
java -Xinternalversion
63-
echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV
64-
echo "BUILD_JAVA_VERSION=${{ matrix.java }}" >> $GITHUB_ENV
60+
java-version: ${{ matrix.java }}
6561

6662
- name: Initialize CodeQL
6763
uses: github/codeql-action/init@v3

0 commit comments

Comments
 (0)