Skip to content

enh: allow user to choose name of definitions object (#2) #14

enh: allow user to choose name of definitions object (#2)

enh: allow user to choose name of definitions object (#2) #14

Workflow file for this run

name: Deploy to maven central
on:
push:
tags:
- '\d+.\d+.\d+-SNAPSHOT'
- '\d+.\d+.\d+'
jobs:
publish:
strategy:
matrix:
os: [ ubuntu-latest ]
include:
- os: ubuntu-latest
java-version: 11
runs-on: ${{ matrix.os }}
steps:
- name: Clone
uses: actions/checkout@v2
- name: Build
uses: eskatos/gradle-command-action@v1
with:
arguments: build
wrapper-directory: kotlin-preprocessors/
build-root-directory: kotlin-preprocessors/
- name: Publish to maven central
uses: eskatos/gradle-command-action@v1
with:
arguments: publish publishPlugins -Pgradle.publish.key=$GRADLE_PUBLISH_KEY -Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET
wrapper-directory: kotlin-preprocessors/
build-root-directory: kotlin-preprocessors/
env:
GODOT_KOTLIN_GPG_PRIVATE_KEY_ASCII: ${{ secrets.GODOT_KOTLIN_GPG_PRIVATE_KEY_ASCII }}
GODOT_KOTLIN_GPG_KEY_PASSPHRASE: ${{ secrets.GODOT_KOTLIN_GPG_KEY_PASSPHRASE }}
GODOT_KOTLIN_MAVEN_CENTRAL_TOKEN_USERNAME: ${{ secrets.GODOT_KOTLIN_MAVEN_CENTRAL_TOKEN_USERNAME }}
GODOT_KOTLIN_MAVEN_CENTRAL_TOKEN_PASSWORD: ${{ secrets.GODOT_KOTLIN_MAVEN_CENTRAL_TOKEN_PASSWORD }}
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}