Added service overview #53
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: 'master_build' | |
on: | |
push: | |
branches: [ master ] | |
env: | |
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn | |
jobs: | |
build_job: | |
runs-on: ubuntu-latest | |
name: Build & Test Microservice | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 21 | |
- name: Cache Maven packages | |
uses: actions/cache@v1 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- uses: s4u/[email protected] | |
with: | |
servers: | | |
[{ | |
"id": "sonatype-nexus-snapshots", | |
"username": "${{ secrets.OSS_USERNAME }}", | |
"password": "${{ secrets.OSS_PASSWORD }}" | |
}] | |
- name: Build | |
run: > | |
./mvnw deploy | |
-DsurefireArgs=-Dspring.profiles.active=ASYNCHRONOUS,TEST | |
-Dci.buildNumber=$GITHUB_RUN_NUMBER | |
-U -B $MAVEN_OPTS |