Skip to content

Commit d229eb3

Browse files
authored
feat: Setup GitHub Actions build (#8)
1 parent 766b49c commit d229eb3

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/build.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- 'README.md'
9+
- 'LICENSE.md'
10+
- '.gitignore'
11+
- 'etc/jreleaser/changelog.md.tpl'
12+
pull_request:
13+
paths-ignore:
14+
- 'README.md'
15+
- 'LICENSE.md'
16+
- '.gitignore'
17+
- 'etc/jreleaser/changelog.md.tpl'
18+
19+
jobs:
20+
build:
21+
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- uses: actions/checkout@v3
26+
- name: Set up JDK 17
27+
uses: actions/setup-java@v3
28+
with:
29+
java-version: '17'
30+
distribution: 'temurin'
31+
cache: maven
32+
- name: Build with Maven
33+
run: mvn -B clean verify --file pom.xml

0 commit comments

Comments
 (0)