Result - 5.6.0 #10
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
--- | |
name: Release | |
on: | |
release: | |
types: [released] | |
permissions: read-all | |
jobs: | |
publish: | |
name: Build and publish - Release | |
runs-on: macos-11 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Setup Java 11 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Cache Gradle | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Cache Konan | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.konan/caches | |
~/.konan/dependencies | |
~/.konan/kotlin-native-prebuilt-macos-* | |
key: ${{ runner.os }}-konan-${{ hashFiles('**/Dependencies.kt') }} | |
restore-keys: | | |
${{ runner.os }}-konan- | |
- name: Publish to MavenCentral | |
uses: gradle/gradle-build-action@v2 | |
env: | |
SIGNING_KEY: ${{ secrets.SIGNING_KEY }} | |
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
with: | |
arguments: publish --max-workers 1 -Prelease=true |