Skip to content

Commit a4ccda3

Browse files
committed
Update build.yml, pom.xml and .editorconfig
1 parent e8c6ca7 commit a4ccda3

File tree

3 files changed

+28
-28
lines changed

3 files changed

+28
-28
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ end_of_line = lf
66
insert_final_newline = true
77
indent_style = space
88
indent_size = 4
9+
10+
[*.yml]
11+
indent_size = 2

.github/workflows/build.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
name: Java CI
22

33
on:
4-
push:
5-
branches: [ "main" ]
6-
pull_request:
7-
branches: [ "main" ]
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
88

99
jobs:
10-
build:
11-
runs-on: ubuntu-latest
10+
build:
11+
runs-on: ubuntu-latest
1212

13-
steps:
14-
- uses: actions/checkout@v4
13+
steps:
14+
- uses: actions/checkout@v4
1515

16-
- name: Set up JDK
17-
uses: actions/setup-java@v4
18-
with:
19-
java-version: '21'
20-
distribution: 'temurin'
21-
cache: maven
16+
- name: Set up JDK
17+
uses: actions/setup-java@v4
18+
with:
19+
java-version: '21'
20+
distribution: 'temurin'
21+
cache: maven
2222

23-
- name: Build
24-
run: mvn -B compile --file pom.xml
23+
- name: Build
24+
run: mvn -B compile --file pom.xml
2525

26-
- name: Run Tests
27-
run: mvn -B test --file pom.xml
26+
- name: Run Tests
27+
run: mvn -B test --file pom.xml
2828

29-
- uses: MathieuSoysal/Javadoc-publisher.yml@v3.0.2
30-
with:
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32-
javadoc-branch: javadoc
33-
java-version: 21
34-
target-folder: javadoc
35-
project: maven
29+
- name: Deploy Javadoc to GitHub Pages
30+
uses: MathieuSoysal/Javadoc-publisher.yml@v3.0.2
31+
with:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
javadoc-branch: javadoc
34+
java-version: 21
35+
project: maven

pom.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,9 @@
169169
</execution>
170170
</executions>
171171
<configuration>
172-
<source>${java.version}</source>
173-
<doctitle>CommandFramework API</doctitle>
174172
<failOnError>false</failOnError>
175173
<failOnWarnings>false</failOnWarnings>
176174
<additionalOptions>-Xdoclint:none</additionalOptions>
177-
<outputDirectory>${project.build.directory}/site/apidocs</outputDirectory>
178175
</configuration>
179176
</plugin>
180177
<plugin>

0 commit comments

Comments
 (0)