This is an automated email from the ASF dual-hosted git repository. mibo pushed a commit to branch OLINGO-1589 in repository https://gitbox.apache.org/repos/asf/olingo-odata4.git
commit a824c4ae3b6a3e5105a8a3ee6a5e7ba79fe21709 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..7c4c78d9a --- /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 package --file pom.xml
