fix: bump the springframework-dependencies group with 3 updates #52
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Gradle then perform an automated release | |
# For more information see: | |
# https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
# https://github.com/marketplace/actions/action-for-semantic-release | |
name: CI | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Build with Gradle | |
run: ./gradlew build | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: build-directory | |
path: build | |
- uses: codecov/codecov-action@v3 | |
with: | |
files: build/reports/jacoco/test/jacocoTestReport.xml | |
verbose: true | |
release: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v3 | |
id: semantic | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish to Sonatype | |
if: steps.semantic.outputs.new_release_published == 'true' | |
env: | |
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} | |
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} | |
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} | |
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} | |
run: | | |
./gradlew publishToSonatype closeAndReleaseStagingRepository |