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

coheigea pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf-fediz.git


The following commit(s) were added to refs/heads/main by this push:
     new 52f7a05b Adding pull request builder
52f7a05b is described below

commit 52f7a05b4813c6b83b57b3a9321446a501edb842
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Wed Mar 29 14:41:10 2023 +0100

    Adding pull request builder
---
 .github/workflows/pull-request-build.yml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/.github/workflows/pull-request-build.yml 
b/.github/workflows/pull-request-build.yml
new file mode 100644
index 00000000..59215957
--- /dev/null
+++ b/.github/workflows/pull-request-build.yml
@@ -0,0 +1,28 @@
+name: "Build and Test"
+
+on:
+  pull_request:
+    branches: ['main']
+
+permissions:
+  contents: read
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    permissions:
+      contents: read  
+      pull-requests: read
+    timeout-minutes: 130
+    steps:
+      - uses: actions/checkout@v3
+      - name: Set up JDK 8
+        uses: actions/setup-java@v3
+        with:
+          java-version: '8'
+          distribution: 'temurin'
+          cache: maven
+      - name: Build with Apache Maven
+        run: mvn -U clean install -Djava.awt.headless=true -fae -B -Peverything
+    env: 
+       MAVEN_OPTS: "-Xmx1024M"

Reply via email to