SSDK version update - 16.0.1 #598
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
maven-build-and-verify: | |
# This job runs on Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# - name: Cache local Maven repository | |
# uses: actions/cache@v2 | |
# with: | |
# path: ~/.m2/repository | |
# key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
# restore-keys: | | |
# ${{ runner.os }}-maven- | |
- uses: actions/setup-java@v2 | |
name: Set up JDK 17 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
# - name: Set up Apache Maven Central | |
# uses: actions/setup-java@v2 | |
# with: # running setup-java again overwrites the settings.xml | |
# java-version: '17' | |
# distribution: 'adopt' | |
- uses: s4u/[email protected] | |
name: Set settings.xml | |
with: | |
servers: | | |
[{ | |
"id": "backbase", | |
"username": "${{ secrets.REPO_USERNAME }}", | |
"password": "${{ secrets.REPO_PASSWORD }}" | |
}] | |
- run: mvn --batch-mode --update-snapshots verify | |
name: Build and test project | |
- run: mkdir staging && cp services/product/target/*.jar staging | |
name: Move and upload the jar | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: Package | |
path: staging | |