Skip to content

update zed marketplace PR reference #18

update zed marketplace PR reference

update zed marketplace PR reference #18

name: Publish JetBrains Plugin
on:
push:
tags:
- "jetbrains-v*"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
defaults:
run:
working-directory: jetbrains-plugin
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- run: ./gradlew buildPlugin
- run: ./gradlew verifyPlugin
- run: ./gradlew publishPlugin --info
env:
PUBLISH_TOKEN: ${{ secrets.JETBRAINS_TOKEN }}
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
files: jetbrains-plugin/build/distributions/*.zip
body: |
## JetBrains Plugin
### Install manually
1. Download the `.zip` file below
2. Go to **Settings → Plugins → ⚙️ → Install Plugin from Disk**
3. Select the downloaded file