Skip to content

Bump karafVersion from 4.4.4 to 4.4.5 #185

Bump karafVersion from 4.4.4 to 4.4.5

Bump karafVersion from 4.4.4 to 4.4.5 #185

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