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

coheigea pushed a commit to branch 2_3_x-fixes
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git


The following commit(s) were added to refs/heads/2_3_x-fixes by this push:
     new d1281e122 Adding older branches to build
d1281e122 is described below

commit d1281e1227f3643fbac17b75f59d6d74d7d54ee8
Author: Colm O hEigeartaigh <cohei...@apache.org>
AuthorDate: Tue Oct 24 04:10:20 2023 +0100

    Adding older branches to build
---
 .github/workflows/pull-request-build.yaml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/.github/workflows/pull-request-build.yaml 
b/.github/workflows/pull-request-build.yaml
new file mode 100644
index 000000000..147d1524a
--- /dev/null
+++ b/.github/workflows/pull-request-build.yaml
@@ -0,0 +1,28 @@
+name: "Build and Test"
+
+on:
+  pull_request:
+    branches: ['master', '3_0_x-fixes', '2_4_x-fixes', '2_3_x-fixes']
+
+permissions:
+  contents: read
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    permissions:
+      contents: read  
+      pull-requests: read
+    timeout-minutes: 130
+    steps:
+      - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 
v3.5.0
+      - name: Set up JDK 11
+        uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # 
v3.12.0
+        with:
+          java-version: '11'
+          distribution: 'temurin'
+          cache: maven
+      - name: Build with Apache Maven
+        run: mvn -U clean install -Djava.awt.headless=true -fae -B
+    env: 
+       MAVEN_OPTS: "-Xmx1024M"

Reply via email to