Skip to content

Fix KSP plugin gradle.properties #776

Fix KSP plugin gradle.properties

Fix KSP plugin gradle.properties #776

Workflow file for this run

name: "Publish all libs, Arrow-stack and Docs"
on:
push:
branches: [ publish-2.0.0-alpha.1 ]
workflow_dispatch:
branches: [ main ]
inputs:
version:
description: 'Version'
required: true
type: string
env:
BASEDIR: ${{github.workspace}}/arrow-libs
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.kotlin.dsl.internal.io.timeout=120000 -Dorg.gradle.jvmargs="-Xmx5g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8"
ORG_GRADLE_PROJECT_mavenCentralUsername: '${{ secrets.OSS_USER }}'
ORG_GRADLE_PROJECT_mavenCentralPassword: '${{ secrets.OSS_TOKEN }}'
ORG_GRADLE_PROJECT_signingInMemoryKeyId: '${{ secrets.SIGNING_KEY_ID }}'
ORG_GRADLE_PROJECT_signingInMemoryKey: '${{ secrets.SIGNING_KEY }}'
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: '${{ secrets.SIGNING_KEY_PASSPHRASE }}'
jobs:
publish:
timeout-minutes: 90
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'publish-2.0.0-alpha.1' }}
- name: Assemble
run: ./gradlew assemble -Pversion=2.0.0-alpha.1 -Penable_wasm=true
- name: Publish artifacts
run: ./gradlew -Pversion=2.0.0-alpha.1 publish -Penable_wasm=true