Skip to content

Bump org.mockito:mockito-core from 5.14.1 to 5.14.2 #211

Bump org.mockito:mockito-core from 5.14.1 to 5.14.2

Bump org.mockito:mockito-core from 5.14.1 to 5.14.2 #211

Workflow file for this run

name: GitHub CD
on:
push:
branches:
- main
tags:
- camel-ldp-recipes-[0-9]+.[0-9]+.[0-9]+
jobs:
validation:
name: Validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v3
build:
name: CD environment
needs: [validation]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 11
- name: Build with Gradle
run: ./gradlew build javadoc
sonatype:
name: Deploy artifacts to Sonatype
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 11
- name: Publish to Sonatype
run: if [[ $(./gradlew -q getVersion) == *SNAPSHOT* ]]; then ./gradlew publish ; fi
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}