Skip to content

update submodule references after deployment #134

update submodule references after deployment

update submodule references after deployment #134

Workflow file for this run

# 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