Skip to content

Bump junitVersion from 5.11.2 to 5.11.3 #210

Bump junitVersion from 5.11.2 to 5.11.3

Bump junitVersion from 5.11.2 to 5.11.3 #210

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 }}