Skip to content

Set proper Java target compatibility #11

Set proper Java target compatibility

Set proper Java target compatibility #11

Workflow file for this run

name: release
# TODO make run only on tags.
on:
pull_request: {}
push:
branches:
- trunk
env:
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
jobs:
publish:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4.0.0
with:
distribution: 'zulu'
java-version: 19
- name: Build and publish artifacts
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALUSERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALPASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEY }}
run: ./gradlew publish
# - name: Deploy docs to website
# uses: JamesIves/github-pages-deploy-action@releases/v3
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# BRANCH: site
# FOLDER: build/dokka/html
# TARGET_FOLDER: docs/0.x/
# CLEAN: true