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.git
The following commit(s) were added to refs/heads/main by this push: new 7f5f4b9 Add github workflow 7f5f4b9 is described below commit 7f5f4b9b23c67d762cecdfc6d9b9248775573e44 Author: Andy Taylor <andy.tayl...@gmail.com> AuthorDate: Tue Apr 23 07:45:21 2024 +0100 Add github workflow --- .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