From 450c871e566485a8f6ae3aa271f7442290d6da8e Mon Sep 17 00:00:00 2001 From: Robert Munteanu Date: Fri, 29 Nov 2024 15:21:22 +0100 Subject: [PATCH] feat: add GitHub action to check JMX with Java 8 --- .github/workflows/jmx.yml | 45 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/jmx.yml diff --git a/.github/workflows/jmx.yml b/.github/workflows/jmx.yml new file mode 100644 index 0000000000..7fd7e78291 --- /dev/null +++ b/.github/workflows/jmx.yml @@ -0,0 +1,45 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: JMX - CI Build + +on: + push: + # Sequence of patterns matched against refs/heads + branches-ignore: + # Push events to branches matching refs/heads/dependabot/** + - 'dependabot/**' + pull_request: + +defaults: + run: + working-directory: jmx + +env: + LC_ALL: en_US.UTF-8 + +jobs: + build: + name: maven-build + runs-on: ubuntu-latest + steps: + - name: Git Checkout + uses: actions/checkout@v4 + - name: Set up Java + uses: actions/setup-java@v2 + with: + distribution: 'temurin' + java-version: '8' + - name: Build + shell: bash + run: | + mvn -U -e -B -ntp install