Skip to content

Commit e103314

Browse files
Fix formatting of branches in workflow file
1 parent 9de4477 commit e103314

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/build-java-17.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Java CI with Maven
55

66
on:
77
push:
8-
branches: [main]
8+
branches: [ main ]
99
pull_request:
10-
branches: [main]
10+
branches: [ main ]
1111

1212
permissions:
1313
contents: write
@@ -18,22 +18,22 @@ jobs:
1818
timeout-minutes: 30
1919

2020
steps:
21-
- name: Checkout code
22-
uses: actions/checkout@v5
23-
with:
24-
persist-credentials: false
25-
- name: Set up JDK 17
26-
uses: actions/setup-java@v5
27-
with:
28-
java-version: 17
29-
distribution: corretto
30-
cache: maven
31-
- name: Build with Maven
32-
run: mvn package -ntp
33-
- name: Upload coverage reports to Codecov
34-
uses: codecov/codecov-action@v5.5.1
35-
with:
36-
token: ${{ secrets.CODECOV_TOKEN }}
37-
slug: ${{ github.repository }}
38-
- name: Submit Dependency Snapshot
39-
uses: advanced-security/maven-dependency-submission-action@v5
21+
- name: Checkout repository
22+
uses: actions/checkout@v5
23+
with:
24+
persist-credentials: false
25+
- name: Set up JDK 17
26+
uses: actions/setup-java@v5
27+
with:
28+
java-version: 17
29+
distribution: corretto
30+
cache: maven
31+
- name: Build with Maven
32+
run: mvn package -ntp
33+
- name: Upload coverage reports to Codecov
34+
uses: codecov/codecov-action@v5.5.1
35+
with:
36+
token: ${{ secrets.CODECOV_TOKEN }}
37+
slug: ${{ github.repository }}
38+
- name: Submit Dependency Snapshot
39+
uses: advanced-security/maven-dependency-submission-action@v5

0 commit comments

Comments
 (0)