Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Merge pull request #213 from mybatis/renovate/junit5-monorepo #140

Merge pull request #213 from mybatis/renovate/junit5-monorepo

Merge pull request #213 from mybatis/renovate/junit5-monorepo #140

Workflow file for this run

name: Sonatype
on:
push:
branches:
- master
jobs:
build:
if: github.repository_owner == 'mybatis' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
cache: maven
distribution: temurin
java-version: 21
- name: Deploy to Sonatype
run: ./mvnw deploy -DskipTests -B -V --no-transfer-progress --settings ./.mvn/settings.xml -Dlicense.skip=true
env:
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}