update submodule reference #160
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, and cache/restore any dependencies to improve the workflow execution time | |
# 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: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout git submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: install parent pom | |
run: mvn -B clean install -f modules/openepcis-bom/pom.xml | |
# - name: Maven Publish | |
# uses: samuelmeuli/action-maven-publish@v1 | |
# with: | |
# maven_goals_phases: clean verify | |
# gpg_private_key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} | |
# gpg_passphrase: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} | |
# nexus_username: ${{ secrets.OSSRH_USERNAME }} | |
# nexus_password: ${{ secrets.OSSRH_TOKEN }} | |
# server_id: openepcis-ossrh |