Skip to content

Publish

Publish #32

Workflow file for this run

name: Publish
on:
push:
tags:
- '*'
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout Source Code
uses: actions/checkout@v3
- name: Fetch Git Tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Install Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 8
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Build
run: ./gradlew build
- name: Publish
run: ./gradlew publishPlugins -Pgradle.publish.key=${{secrets.PLUGIN_PORTAL_KEY}} -Pgradle.publish.secret=${{secrets.PLUGIN_PORTAL_SECRET}}