Skip to content

Allow multiple PersistenceUnitDefinition on a single class. Allow nes… #48

Allow multiple PersistenceUnitDefinition on a single class. Allow nes…

Allow multiple PersistenceUnitDefinition on a single class. Allow nes… #48

Workflow file for this run

name: Java CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Configure environment
run: |
git config --global user.name "${{ github.event.head_commit.committer.name }}"
git config --global user.email "${{ github.event.head_commit.committer.email }}"
echo -n "$SECRET_KEY_RING" | gpg --import > ./gpg.logs
echo -n "$MAVEN_SETTINGS" > ./settings.xml
env:
SECRET_KEY_RING: ${{ secrets.SECRET_KEY_RING }}
MAVEN_SETTINGS: ${{ secrets.MAVEN_SETTINGS }}
- name: Build artifacts with Maven
run: mvn verify --batch-mode --update-snapshots
- name: Deploy artifacts to Sonatype Nexus
run: mvn deploy --settings ./settings.xml --activate-profiles deploy --batch-mode