From 3f805eabd94251f9a00ef3a7cea5c2eb886cf4db Mon Sep 17 00:00:00 2001 From: Manfred Riem Date: Sat, 16 Nov 2024 07:31:06 -0600 Subject: [PATCH] Fixes #4221 - Simplify workflows (#4222) --- .github/workflows/{build.yml => branch.yml} | 23 +++------------------ 1 file changed, 3 insertions(+), 20 deletions(-) rename .github/workflows/{build.yml => branch.yml} (85%) diff --git a/.github/workflows/build.yml b/.github/workflows/branch.yml similarity index 85% rename from .github/workflows/build.yml rename to .github/workflows/branch.yml index c3a1d43f0..ef2ab86e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/branch.yml @@ -7,23 +7,6 @@ on: - 'v*' workflow_dispatch: jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - java: [ 21, 23 ] - os: [ubuntu-latest, windows-latest] - steps: - - name: Checkout Sources - uses: actions/checkout@v4 - - name: Setup Java ${{ matrix.java }} - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: ${{ matrix.java }} - - name: Build with Maven - run: mvn -B -ntp -T 1 install ghcr: runs-on: ubuntu-latest steps: @@ -37,15 +20,15 @@ jobs: - name: Build with Maven run: mvn -B -Dmaven.javadoc.skip=true -DskipTests=true -DskipITs=true -ntp -P '!test' verify - name: Login to GHCR - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: version: v0.10.0 - run: docker buildx inspect