Skip to content

chore: Build plugin and add link in comment #19

chore: Build plugin and add link in comment

chore: Build plugin and add link in comment #19

Workflow file for this run

name: Validate
on:
push:
branches-ignore:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
run: ./gradlew --no-configuration-cache build test
- name: Build plugin
run: ./gradlew --no-configuration-cache buildPlugin
- uses: actions/[email protected]
id: artifact
with:
name: intellij-plugin-snapshot.zip
path: build/distributions/*.zip
- uses: mshick/add-pr-comment@v2
with:
refresh-message-position: true
message: "Test using build snapshot: ${{ steps.artifact.outputs.artifact-url }}"