Skip to content

Commit 0d47895

Browse files
committed
Add GitHub Action to build project
1 parent 6a473d8 commit 0d47895

File tree

2 files changed

+30
-15
lines changed

2 files changed

+30
-15
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-java@v2
17+
with:
18+
java-version: '17'
19+
distribution: 'adopt'
20+
21+
- name: Run the Maven verify phase
22+
run: mvn --batch-mode verify

README.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,15 @@ Further reading:
1414
* [About API implemented in this library](http://doc.kaitai.io/stream_api.html)
1515
* [Java-specific notes](http://doc.kaitai.io/lang_java.html)
1616

17-
# Build
18-
To build library run the following command:
17+
## Build
18+
To build the library, run the following command:
1919

20-
```console
20+
```sh
2121
mvn install
2222
```
2323

24-
# Release
25-
To make a release ensure that you have:
26-
27-
- a [gpg](https://gnupg.org/) installed
28-
- a [configured](https://maven.apache.org/plugins/maven-gpg-plugin/usage.html) gpg signing key
29-
- pass `-DperformRelease=true` argument to the maven command invocation:
30-
31-
```console
32-
mvn -DperformRelease=true deploy
33-
```
34-
35-
See also http://doc.kaitai.io/developers.html#java.
24+
## Release
25+
<sub>
26+
If you are maintainer of this project please visit http://doc.kaitai.io/developers.html#java
27+
to get instructions how to make a release.
28+
</sub>

0 commit comments

Comments
 (0)