Skip to content

deps: Bump io.modelcontextprotocol.sdk:mcp-core from 1.1.1 to 1.1.2 #661

deps: Bump io.modelcontextprotocol.sdk:mcp-core from 1.1.1 to 1.1.2

deps: Bump io.modelcontextprotocol.sdk:mcp-core from 1.1.1 to 1.1.2 #661

Workflow file for this run

name: Commit Stage
on:
push:
branches:
- main
paths-ignore:
- '.editorconfig'
- '.gitattributes'
- '.gitignore'
- '.sdkmanrc'
- '*.adoc'
- '*.png'
- '*.md'
- '*.txt'
- 'catalog-info.yaml'
- 'docs/**'
- '.github/ISSUE_TEMPLATE/**'
- '.github/*.md'
- '.github/*.yml'
- '.github/*.yaml'
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-24.04
permissions:
contents: write
discussions: write
issues: write
pull-requests: write
steps:
- name: Check out source code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Reclaim disk space
shell: bash
run: .github/scripts/reclaim-disk-space.sh
- name: Set up Java
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
java-version: 21
distribution: temurin
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
- name: Setup Gradle
uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
- name: Compile and test
run: ./gradlew build -Dorg.gradle.parallel=false
- name: Generate SBOMs
run: ./gradlew cyclonedxBom
- name: Stage artifacts to local directory
if: ${{ github.ref == 'refs/heads/main' }}
run: ./gradlew publish
- name: Define environment variables for Java project
if: ${{ github.ref == 'refs/heads/main' }}
run: |
GROUP=$(./gradlew properties | grep 'group:' | awk '{print $2}')
echo "GROUP=$GROUP" >> $GITHUB_ENV
echo "group: $GROUP"
VERSION=$(./gradlew properties | grep 'version:' | awk '{print $2}')
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "version: $VERSION"
- name: Release
if: ${{ github.ref == 'refs/heads/main' }}
uses: jreleaser/release-action@90ac653bb9c79d11179e65d81499f3f34527dcd5 # v2.5.0
with:
arguments: full-release
env:
JRELEASER_BLUESKY_HANDLE: ${{ secrets.JRELEASER_BLUESKY_HANDLE }}
JRELEASER_BLUESKY_HOST: ${{ secrets.JRELEASER_BLUESKY_HOST }}
JRELEASER_BLUESKY_PASSWORD: ${{ secrets.JRELEASER_BLUESKY_PASSWORD }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }}
JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }}
JRELEASER_GPG_PASSPHRASE: ${{ secrets.JRELEASER_GPG_PASSPHRASE }}
JRELEASER_MAVENCENTRAL_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
JRELEASER_MAVENCENTRAL_TOKEN: ${{ secrets.SONATYPE_TOKEN }}
JRELEASER_NEXUS2_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
JRELEASER_NEXUS2_TOKEN: ${{ secrets.SONATYPE_TOKEN }}
JRELEASER_PROJECT_JAVA_GROUP_ID: ${{ env.GROUP }}
JRELEASER_PROJECT_VERSION: ${{ env.VERSION }}
- name: Upload JReleaser output
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
retention-days: 1
name: jreleaser-output
path: |
out/jreleaser/trace.log
out/jreleaser/output.properties
- name: Trigger documentation update
if: ${{ github.ref == 'refs/heads/main' }}
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
with:
token: ${{ secrets.DISPATCH_TOKEN }}
repository: arconia-io/arconia-docs
event-type: docs-update