Skip to content

Fix Statement and SubStatement Object Builder does not copy all prope… #59

Fix Statement and SubStatement Object Builder does not copy all prope…

Fix Statement and SubStatement Object Builder does not copy all prope… #59

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
name: Publish snapshot to the Sonatype OSSRH
on:
push:
branches: [release-*]
jobs:
publish-snapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "temurin"
cache: maven
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish snapshot package
run: mvn -B deploy --file pom.xml
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
- name: Generate Javadoc
run: mvn -B javadoc:javadoc --file pom.xml # This checks that the Javadoc is vaild