Implement And-/OrAvailabilityRule #38
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
name: deploy snapshot | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
deploy-snapshot: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout source code | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# Setup Java environment | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Maven setup | |
uses: ./.github/actions/mvn-setup | |
with: | |
mgnl_nexus_user: ${{secrets.MGNL_NEXUS_USER}} | |
mgnl_nexus_pass: ${{secrets.MGNL_NEXUS_PASS}} | |
# Run maven verify | |
- name: Maven verify | |
run: mvn verify --batch-mode | |
# Publish | |
- name: Release Maven package | |
uses: samuelmeuli/action-maven-publish@v1 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
nexus_username: ${{ secrets.OSSRH_USER }} | |
nexus_password: ${{ secrets.OSSRH_PASSWORD }} |