Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to JetBrains Marketplace | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
env: | |
IJ_PLUGIN_REPO_TOKEN: ${{ secrets.JETBRAINS_MARKETPLACE }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Scala | |
uses: olafurpg/setup-scala@v14 | |
with: | |
java-version: "[email protected]" | |
- name: Package plugin | |
# For some reason packageArtifact needs to be invoked second time | |
# for patching plugin.xml in patchPluginXML task | |
run: sbt clean test packageArtifact && sbt packageArtifact | |
- name: Publish plugin | |
run: sbt publishPlugin |