diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..d64b48a
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,22 @@
+name: CI
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: actions/setup-java@v2
+ with:
+ java-version: '17'
+ distribution: 'adopt'
+
+ - name: Run the Maven verify phase
+ run: mvn --batch-mode verify
diff --git a/README.md b/README.md
index 8386d5a..3adccca 100644
--- a/README.md
+++ b/README.md
@@ -13,3 +13,16 @@ Further reading:
* [About Kaitai Struct](http://kaitai.io/)
* [About API implemented in this library](http://doc.kaitai.io/stream_api.html)
* [Java-specific notes](http://doc.kaitai.io/lang_java.html)
+
+## Build
+To build the library, run the following command:
+
+```sh
+mvn install
+```
+
+## Release
+
+If you are maintainer of this project please visit http://doc.kaitai.io/developers.html#java
+to get instructions how to make a release.
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index c395d8c..cb465e5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,6 +54,33 @@
7
+
+ release-sign-artifacts
+
+
+ performRelease
+ true
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 3.2.5
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+
+
@@ -66,7 +93,7 @@
org.apache.maven.plugins
maven-source-plugin
- 2.2.1
+ 3.3.1
attach-sources
@@ -79,7 +106,7 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 3.2.0
+ 3.7.0
attach-javadocs
@@ -116,20 +143,6 @@
-
- org.apache.maven.plugins
- maven-gpg-plugin
- 1.5
-
-
- sign-artifacts
- verify
-
- sign
-
-
-
-