This is an automated email from the ASF dual-hosted git repository.

mibo pushed a commit to branch OLINGO-1636-jdk_upgrade
in repository https://gitbox.apache.org/repos/asf/olingo-odata2.git

commit ab481c5a0b20c763f9079f65480eb2c737a8afd7
Author: Iliyan Velichkov <[email protected]>
AuthorDate: Wed Dec 13 09:54:19 2023 +0200

    add build.yml
---
 .github/build.yml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/.github/build.yml b/.github/build.yml
new file mode 100644
index 00000000..1c4103e1
--- /dev/null
+++ b/.github/build.yml
@@ -0,0 +1,28 @@
+name: Build
+on:
+  push:
+    branches: 
+      - main
+      - master
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v3
+      with:
+        fetch-depth: 0
+    - name: Cache local Maven repository
+      uses: actions/cache@v3
+      with:
+        path: ~/.m2/repository
+        key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+        restore-keys: ${{ runner.os }}-maven-
+    - name: Set up JDK Corretto 21
+      uses: actions/setup-java@v3
+      with:
+        distribution: 'corretto'
+        java-version: '21'
+        architecture: x64
+    - name: Maven Build
+      run: mvn clean install
+   

Reply via email to