Skip to content

Merge pull request #416 from mybatis/renovate/github-codeql-action-di… #338

Merge pull request #416 from mybatis/renovate/github-codeql-action-di…

Merge pull request #416 from mybatis/renovate/github-codeql-action-di… #338

Workflow file for this run

name: Sonatype
on:
push:
branches:
- master
permissions: read-all
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
if: github.repository_owner == 'mybatis' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]')
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Setup Java
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
with:
cache: maven
distribution: temurin
java-version: 25
- name: Deploy to Sonatype
run: ./mvnw deploy --batch-mode --no-transfer-progress --settings ./.mvn/settings.xml --show-version -Dlicense.skip=true -Dlog.level.thymeleaf.config=info -DskipTests
env:
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}