Skip to content

Merge pull request #2595 from Waffle/renovate/checkstyle.version #1313

Merge pull request #2595 from Waffle/renovate/checkstyle.version

Merge pull request #2595 from Waffle/renovate/checkstyle.version #1313

Workflow file for this run

name: Sonatype
defaults:
run:
working-directory: Source/JNA
on:
push:
branches:
- master
jobs:
build:
if: github.repository_owner == 'waffle' && ! 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:
java-version: 21
distribution: zulu
- 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 }}