Skip to content

v6.0.0

v6.0.0 #208

Workflow file for this run

name: cta4j Java SDK - Build & Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
concurrency:
group: deploy-main
cancel-in-progress: true
jobs:
build:
name: Build & Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: "corretto"
java-version: "21"
cache: "maven"
- name: Read project version from pom.xml
id: ver
run: |
VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:3.5.0:exec)
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
- name: Build with Maven
run: mvn -B -Dgpg.skip=true clean verify