Merge branch 'current' into issue-395 #296
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- 'release-*' | |
- 'v*' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Java 21 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
- name: Build with Maven | |
run: mvn -B --ntp package | |
ghcr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Java 21 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
- name: Build with Maven | |
run: mvn -B -DskipTests=true --ntp install | |
- name: Login to GHCR | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Push to GHCR | |
run: | | |
cd server | |
mvn -B -DskipTests=true --ntp -P docker install docker:build docker:push | |
macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Java 21 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.9.6 | |
- name: Build with Maven | |
run: mvn -B -DskipTests -DskipITs --ntp -P macos package | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Java 21 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.9.6 | |
- name: Build with Maven | |
run: mvn -B -DskipTests -DskipITs --ntp -P graalvm package | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Java 21 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
- name: Build with Maven | |
run: mvn -B -DskipTests -DskipITs --ntp -P windows package | |