⬆️ Upgrade to kotlin 1.9.10, spring boot 3.1.5 (#531) #523
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
name: Publish | |
on: | |
push: | |
branches-ignore: [ 'dependabot/**' ] | |
paths-ignore: [ '**.md' ] | |
release: | |
types: [ prereleased, released ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' # See 'Supported distributions' for available options | |
java-version: '17' | |
- name: Import GPG key | |
uses: crazy-max/ghaction-import-gpg@v3 | |
with: | |
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} | |
- uses: ButterCam/setup-sisyphus-build@v1 | |
with: | |
dependency-repositories: local,central,portal,google,snapshot | |
snapshot-url: https://s01.oss.sonatype.org/content/repositories/snapshots | |
snapshot-username: ${{ secrets.OSSRH_USERNAME }} | |
snapshot-password: ${{ secrets.OSSRH_PASSWORD }} | |
release-url: https://s01.oss.sonatype.org/service/local/staging/deploy/maven2 | |
release-username: ${{ secrets.OSSRH_USERNAME }} | |
release-password: ${{ secrets.OSSRH_PASSWORD }} | |
gradle-portal-key: ${{ secrets.GRADLE_PUBLISH_KEY }} | |
gradle-portal-secret: ${{ secrets.GRADLE_PUBLISH_SECRET }} | |
gpg-key-name: ${{ secrets.GPG_KEY_NAME }} | |
- name: Publish with Gradle | |
run: gradle publish --no-daemon | |
- name: Publish plugins to Gradle Portal | |
if: ${{ github.event_name == 'release' }} | |
run: gradle publishPlugins --no-daemon |