⬆️ Upgrade to Kotlin 1.9.10 #10
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' | |
- uses: ButterCam/setup-sisyphus-build@v1 | |
with: | |
gradle-portal-key: ${{ secrets.GRADLE_PUBLISH_KEY }} | |
gradle-portal-secret: ${{ secrets.GRADLE_PUBLISH_SECRET }} | |
- name: Publish plugins to Gradle Portal | |
if: ${{ github.event_name == 'release' }} | |
run: gradle publishPlugins --no-daemon |