Skip to content

Release

Release #4

Workflow file for this run

on:
workflow_dispatch:
# push:
# branches: [ main ]
# paths: [ VERSION ]
jobs:
release:
#if: "contains(github.event.head_commit.message, '[release]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Publish Plugin
env:
GRADLE_PUBLISH_KEY: ${{ vars.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
run: ./gradlew publishPlugins --no-daemon --stacktrace
- name: Create Git Tag
run: |
VERSION=$(cat VERSION)
git tag -a v$VERSION -m "Release v$VERSION"
git push origin v$VERSION