Skip to content

Added Checkstyle 10.15.0 #72

Added Checkstyle 10.15.0

Added Checkstyle 10.15.0 #72

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build info
id: build_info
run: |
BUILD_TAG=${GITHUB_REF#refs/tags/}
cat ./CHANGELOG.md | grep "$BUILD_TAG" | sed 's%^\*[[:space:]]*\*\*[0-9.]*\*\*[[:space:]]*%%g' > ${{ github.workspace }}-CHANGELOG.txt
echo "build_tag=${BUILD_TAG}" >> $GITHUB_OUTPUT
- name: Set up Java 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: liberica
- name: Build
run: ./gradlew check buildPlugin
- name: Release
uses: softprops/action-gh-release@4634c16e79c963813287e889244c50009e7f0981
with:
body_path: ${{ github.workspace }}-CHANGELOG.txt
draft: false
prerelease: false
files:
build/distributions/CheckStyle-IDEA-${{ steps.build_info.outputs.build_tag }}.zip
- name: Publish to Jetbrains Plugin Repo
run: ./gradlew publishPlugin
env:
JETBRAINS_PLUGIN_REPO_TOKEN: ${{ secrets.JETBRAINS_PLUGIN_REPO_TOKEN }}