Skip to content

Commit 69beb60

Browse files
authored
Update maven.yml
1 parent 608b12d commit 69beb60

1 file changed

Lines changed: 29 additions & 19 deletions

File tree

.github/workflows/maven.yml

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,33 @@ jobs:
77

88
runs-on: ubuntu-latest
99

10-
steps:
11-
- uses: actions/checkout@v1
12-
13-
- name: Initialize CodeQL
14-
uses: github/codeql-action/init@v4
15-
with:
16-
languages: ${{ matrix.language }}
17-
18-
# (Optional) Autobuild or manual build steps for compiled languages
10+
permissions:
11+
security-events: write
12+
actions: read
13+
# ...
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
language: ['java']
1918

20-
- name: Perform CodeQL Analysis
21-
uses: github/codeql-action/analyze@v4
22-
23-
- name: Set up JDK 17
24-
uses: actions/setup-java@v1
25-
with:
26-
java-version: 17
27-
28-
- name: Build with Maven
29-
run: mvn -B --no-transfer-progress package --file pom.xml
19+
steps:
20+
- uses: actions/checkout@v1
21+
22+
- uses: actions/checkout@v1
23+
- name: Initialize CodeQL
24+
uses: github/codeql-action/init@v4
25+
with:
26+
languages: ${{ matrix.language }}
27+
28+
# (Optional) Autobuild or manual build steps for compiled languages
29+
30+
- name: Perform CodeQL Analysis
31+
uses: github/codeql-action/analyze@v4
32+
33+
- name: Set up JDK 17
34+
uses: actions/setup-java@v1
35+
with:
36+
java-version: 17
37+
38+
- name: Build with Maven
39+
run: mvn -B --no-transfer-progress package --file pom.xml

0 commit comments

Comments
 (0)