Skip to content

Update plugin org.jetbrains.kotlin.plugin.serialization to v1.9.22 (#67) #91

Update plugin org.jetbrains.kotlin.plugin.serialization to v1.9.22 (#67)

Update plugin org.jetbrains.kotlin.plugin.serialization to v1.9.22 (#67) #91

name: Publish snapshot
on:
push:
branches:
- main
jobs:
publish:
runs-on: macos-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Cache Gradle Files
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
with:
path: |
~/.gradle/caches/
~/.gradle/wrapper/
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up Java
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3
with:
distribution: 'zulu'
java-version: 8
- name: Build
run: ./gradlew build
- name: Publish package
run: ./gradlew publishToSonatype
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.MAVEN_CENTRAL_USER }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.MAVEN_CENTRAL_PW }}