Skip to content

Merge pull request #721 from hazendaz/renovate/enforcer.plugin #686

Merge pull request #721 from hazendaz/renovate/enforcer.plugin

Merge pull request #721 from hazendaz/renovate/enforcer.plugin #686

Workflow file for this run

#
# base-parent (https://github.com/hazendaz/base-parent)
#
# Copyright 2011-2020 Hazendaz.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of The Apache Software License,
# Version 2.0 which accompanies this distribution, and is available at
# https://www.apache.org/licenses/LICENSE-2.0.txt
#
# Contributors:
# Hazendaz (Jeremy Landis).
#
name: Sonatype
on:
push:
branches:
- master
jobs:
build:
if: github.repository_owner == 'hazendaz' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 17
distribution: zulu
- name: Deploy to Sonatype
run: ./mvnw deploy -DskipTests -B --settings ./.mvn/settings.xml
env:
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}