Java 21 #122
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 All & Test | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v2 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '21' | |
distribution: 'zulu' | |
cache: 'maven' | |
- name: Build All | |
run: mvn -B package -DskipTests --file pom.xml | |
- name: Test All | |
run: mvn -B test -Dspring.profiles.active=int-test -Dspring.database.username=${{ secrets.DS_USER }} -Dspring.database.password=${{ secrets.DS_PASSWORD }} -Dspring.test.username=${{ secrets.TEST_USER }} -Dspring.test.password=${{ secrets.TEST_PASSWORD }} --file pom.xml |