Skip to content

Commit 5a594cd

Browse files
Update maven.yml
1 parent 8d51fba commit 5a594cd

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

.github/workflows/maven.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,22 @@
77
name: Java CI with Maven
88
on:
99
push:
10-
branches: [ "master" ]
10+
branches: [ "master" ]
1111
pull_request:
12-
branches: [ "master" ]
12+
branches: [ "master" ]
1313
jobs:
14-
build:
15-
runs-on: ubuntu-latest
16-
steps: - uses: actions/checkout@v4 - name: Set up JDK 17
17-
uses: actions/setup-java@v4
18-
with:
19-
java-version: '17'
20-
distribution: 'temurin'
21-
cache: maven
22-
- name: Build with Maven
23-
run: mvn -B package --file pom.xml
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v4
20+
with:
21+
java-version: '17'
22+
distribution: 'temurin'
23+
cache: maven
24+
-name: Build with Maven
25+
run: mvn -B package --file pom.xml
2426

2527
semgrep:
2628
# User definable name of this GitHub Actions job.

0 commit comments

Comments
 (0)