Update Kotlin version to 1.9.21 #29
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: Build + Publish Snapshot | |
on: | |
push: | |
branches: | |
- '*' | |
- '**' | |
jobs: | |
gradle: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Fetch tags | |
run: git pull --unshallow && git fetch --all --tags --depth=9999 && git describe --tags --abbrev=0 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Gradle Build | |
run: ./gradlew build | |
- name: Gradle Publish | |
run: ./gradlew publish | |
env: | |
MAVEN_PUBLISH_URL: 'https://maven.danielgergely.com/snapshots' | |
MAVEN_PUBLISH_USER: ${{ secrets.MAVEN_DANIELGERGELY_USER }} | |
MAVEN_PUBLISH_PASS: ${{ secrets.MAVEN_DANIELGERGELY_PASSWORD }} |