Release #34
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@v14 | |
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" |