Skip to content

Commit

Permalink
Fixes #4221 - Simplify workflows (#4222)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Nov 16, 2024
1 parent a117e11 commit 3f805ea
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/build.yml → .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 3f805ea

Please sign in to comment.