Skip to content

Update actions/setup-java action to v3.13.0 #221

Update actions/setup-java action to v3.13.0

Update actions/setup-java action to v3.13.0 #221

name: Publish a snapshot release
on:
push:
branches:
- master
jobs:
publish_snapshot:
runs-on: macos-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
distribution: 'zulu'
java-version-file: .ci-java-version
- uses: gradle/[email protected]
- name: Setup Gradle
uses: gradle/[email protected]
with:
gradle-version: wrapper
dependency-graph: generate-and-submit
- name: Publish the artifacts
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }}
run: ./gradlew :uri:publishAllPublicationsToMavenCentralRepository
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx4g -Xms512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=1024m"
DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS: runtimeClasspath|releaseRuntimeClasspath