This is an automated email from the ASF dual-hosted git repository.
mibo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/olingo-odata4.git
The following commit(s) were added to refs/heads/master by this push:
new e1c107ef0 [OLINGO-1589] Added GH action for Maven build
e1c107ef0 is described below
commit e1c107ef0ca5cce4a872d27168ba6234af9e7c3f
Author: mibo <[email protected]>
AuthorDate: Sun Oct 23 17:25:24 2022 +0200
[OLINGO-1589] Added GH action for Maven build
---
.github/workflows/maven.yml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
new file mode 100644
index 000000000..577499cf6
--- /dev/null
+++ b/.github/workflows/maven.yml
@@ -0,0 +1,26 @@
+# This workflow will build a Java project with Maven, and cache/restore any
dependencies to improve the workflow execution time
+# For more information see:
https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
+
+name: Java CI with Maven
+
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ branches: [ "master" ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up JDK 8 (Corretto)
+ uses: actions/setup-java@v3
+ with:
+ java-version: '8'
+ distribution: 'corretto'
+ cache: maven
+ - name: Build with Maven
+ run: mvn -B install --file pom.xml --fail-at-end