Skip to content

Bump com.fasterxml.jackson:jackson-bom from 2.18.0 to 2.18.1 (#259) #258

Bump com.fasterxml.jackson:jackson-bom from 2.18.0 to 2.18.1 (#259)

Bump com.fasterxml.jackson:jackson-bom from 2.18.0 to 2.18.1 (#259) #258

Workflow file for this run

name: RDF Wrapping CD
on:
push:
branches:
- main
tags:
- inrupt-rdf-wrapping-[0-9]+.[0-9]+.[0-9]+
jobs:
publish:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
cache: 'maven'
server-id: 'ossrh'
server-username: MAVEN_REPO_USERNAME
server-password: MAVEN_REPO_TOKEN
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Build the code with Maven
run: mvn -B -ntp install
- name: Deploy Artifacts
run: mvn deploy -P publish
if: github.actor != 'dependabot[bot]'
env:
MAVEN_REPO_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MAVEN_REPO_TOKEN: ${{ secrets.SONATYPE_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Sonar Analysis
run: mvn sonar:sonar -Dsonar.login=${{ secrets.SONARQUBE_TOKEN }}
site:
name: Publish version-specific site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
cache: 'maven'
- name: Build the site with Maven
run: mvn -B -ntp install site site:stage -P website
- name: Set site version
run: |
VERSION=$(mvn -q help:evaluate -Dexpression=project.version -DforceStdout)
echo "VERSION_DIR=./${VERSION}/" >> $GITHUB_ENV
- name: Publish tagged site to GitHub pages
uses: peaceiris/actions-gh-pages@v4
if: github.actor != 'dependabot[bot]' && startsWith(github.event.ref, 'refs/tags/inrupt-rdf-wrapping')
with:
publish_dir: ./target/staging/
personal_token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish versioned site to GitHub pages
uses: peaceiris/actions-gh-pages@v4
if: github.actor != 'dependabot[bot]'
with:
publish_dir: ./target/staging/
destination_dir: ${{ env.VERSION_DIR }}
personal_token: ${{ secrets.GITHUB_TOKEN }}