Release #26
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: Release | |
on: workflow_dispatch | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
env: | |
IJ_PLUGIN_REPO_TOKEN: ${{ secrets.JETBRAINS_MARKETPLACE }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Scala | |
uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: "[email protected]" | |
- name: Package plugin | |
# The first packageArtifact creates the files (including plugin.xml). | |
# The second packageArtifactZip allows the patchPluginXML task to run | |
# on those files and patch the plugin.xml. | |
# Then it packages files into a single zip archive. | |
run: sbt clean && sbt packageArtifact && sbt packageArtifactZip | |
- name: Publish plugin | |
run: sbt "publishPlugin Stable" |