You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2023/03/29 10:27:47 UTC

[ws-wss4j] branch master updated: Adding pull request builder using github actions

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 34f63870f Adding pull request builder using github actions
34f63870f is described below

commit 34f63870fd89f762ba6de3db402a3cc0b7236e36
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Wed Mar 29 11:27:31 2023 +0100

    Adding pull request builder using github actions
---
 .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..3303a4389
--- /dev/null
+++ b/.github/workflows/pull-request-build.yaml
@@ -0,0 +1,28 @@
+name: "Build and Test"
+
+on:
+  pull_request:
+    branches: ['master']
+
+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 11
+        uses: actions/setup-java@v3
+        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"