Skip to content

0.5.9

0.5.9 #30

Workflow file for this run

name: Release
on:
release:
types: [ published ]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'zulu'
cache: gradle
- name: Build artifacts
uses: gradle/gradle-build-action@v2
with:
arguments: |
publishAllPublicationsToCentralRepository
publishAllPublicationsToReleaseDirRepository
--no-daemon
-Dorg.gradle.jvmargs=-XX:MaxMetaspaceSize=2G
-PmavenDeployUrl=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
-PmavenDeployUser=${{ secrets.MAVEN_CENTRAL_USER }}
-PmavenDeployPassword=${{ secrets.MAVEN_CENTRAL_PASSWORD }}
-PmavenSignGpgKey="${{ secrets.MAVEN_SIGN_GPG_KEY }}"
-PmavenSignGpgPassword=${{ secrets.MAVEN_SIGN_GPG_PASSWORD }}
- name: Upload release artifacts
uses: softprops/action-gh-release@v1
with:
files: |
./**/build/release/**/ksmt-*.jar