Skip to content

chore(deps): Bump spring-cloud-stream from 4.1.3 to 4.2.0 (#1123) #21

chore(deps): Bump spring-cloud-stream from 4.1.3 to 4.2.0 (#1123)

chore(deps): Bump spring-cloud-stream from 4.1.3 to 4.2.0 (#1123) #21

name: springwolf-asyncapi
on:
push:
branches:
- master
pull_request:
types: [ opened, synchronize, ready_for_review ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Check formatting (before running tests)
run: ./gradlew -p springwolf-asyncapi spotlessCheck
- name: Build with Gradle
run: ./gradlew -p springwolf-asyncapi build
- name: Publish package
if: github.ref == 'refs/heads/master'
run: ./gradlew -p springwolf-asyncapi publish
env:
ORG_GRADLE_PROJECT_SNAPSHOT: true
ORG_GRADLE_PROJECT_SIGNINGKEY: ${{secrets.ORG_GRADLE_PROJECT_SIGNINGKEY}}
ORG_GRADLE_PROJECT_SIGNINGPASSWORD: ${{secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD}}
ORG_GRADLE_PROJECT_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
ORG_GRADLE_PROJECT_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}