Skip to content

v2.0.1

v2.0.1 #17

Workflow file for this run

---
name: Publish Release
on:
release:
types:
- released
jobs:
publish-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'corretto'
- name: Set artifact version
run: |
echo "RELEASE_VERSION=$(echo '${{ github.event.release.tag_name }}' | sed -e s/^v//)" >> $GITHUB_ENV
- name: build publish
run: ./gradlew clean build publishPlugin -Pgradle.publish.key="${{ secrets.GRADLE_PUBLISH_KEY }}" -Pgradle.publish.secret="${{ secrets.GRADLE_PUBLISH_SECRET }}" --no-daemon --info --stacktrace -Pversion="${{ env.RELEASE_VERSION }}"
timeout-minutes: 10