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

andytaylor pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/activemq-artemis-console-plugin.git


The following commit(s) were added to refs/heads/main by this push:
     new 85f07d3  1st pass at worflow
85f07d3 is described below

commit 85f07d31bbeaa36d2c4088755f29c18c5b53736d
Author: Andy Taylor <[email protected]>
AuthorDate: Tue Mar 26 10:56:09 2024 +0000

    1st pass at worflow
---
 .github/workflows/build.yml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..7cd7bdc
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,30 @@
+name: "Build"
+
+on: [push, pull_request]
+
+jobs:
+  build:
+    runs-on: ubuntu-22.04
+    strategy:
+      fail-fast: false
+      matrix:
+        java: [ 11, 17, 21 ]
+
+    steps:
+      - uses: actions/checkout@v4
+
+      - name: Install JDK ${{ matrix.java }}
+        uses: actions/setup-java@v4
+        with:
+          java-version: ${{ matrix.java }}
+          distribution: 'temurin'
+
+      - name: Build
+        run: mvn -B clean verify
+
+      - name: Upload Rat Report On Failure
+        if: failure()
+        uses: actions/upload-artifact@v4
+        with:
+          name: rat
+          path: target/rat.txt
\ No newline at end of file

Reply via email to