Skip to content

SSDK version update - 17.0.0 #603

SSDK version update - 17.0.0

SSDK version update - 17.0.0 #603

Workflow file for this run

# 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 21
with:
java-version: '21'
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