Fixes #400 - Create test to view a log using REST API #41
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: release | ||
on: | ||
push: | ||
tags: | ||
- v* | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v1 | ||
- name: Set up Java 21 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 21 | ||
- name: Build with Maven | ||
run: mvn -B -DskipTests=true -f pom.xml --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 -P docker install docker:build docker:push | ||
<<<<<<< Updated upstream | ||
macos: | ||
runs-on: macos-latest | ||
======= | ||
windows: | ||
runs-on: windows-latest | ||
>>>>>>> Stashed changes | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Java 21 | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 21 | ||
<<<<<<< Updated upstream | ||
- 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 | ||
======= | ||
- name: Build with Maven | ||
run: mvn -B -DskipTests -DskipITs --ntp -P windows package | ||
>>>>>>> Stashed changes |