You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by mi...@apache.org on 2025/03/01 12:57:49 UTC
(olingo-odata2) 01/29: add build.yml
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 <ve...@gmail.com>
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
+