File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,17 @@ jobs:
5757 # Prefix the list here with "+" to use these queries and those in the config file.
5858 # queries: ./path/to/local/query, your-org/your-repo/queries@main
5959
60- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
61- # If this step fails, then you should remove it and run the build manually (see below)
62- - name : Autobuild
63- uses : github/codeql-action/autobuild@v3
60+ - if : matrix.language == 'java'
61+ name : Set up java 17
62+ uses : actions/setup-java@v3
63+ with :
64+ distribution : ' temurin'
65+ java-version : 17
66+ architecture : x64
67+
68+ - if : matrix.language == 'java'
69+ name : Build with Maven
70+ run : ./mvnw clean install -U
6471
6572 # ℹ️ Command-line programs to run using the OS shell.
6673 # 📚 https://git.io/JvXDl
You can’t perform that action at this time.
0 commit comments