Skip to content

v2.3.1

v2.3.1 #8

Workflow file for this run

# GitHub Action Workflow for releasing a new stable version of the plugin.
#
# Workflow is triggered manually w/ proper access.
#
# Additional Docs:
# - GitHub Actions: https://help.github.com/en/actions
name: release
on:
release:
types: [created]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
release:
strategy:
matrix:
product: [ "IC-2022.2", "IC-2023.1" ]
max-parallel: 1
env:
PRODUCT_NAME: ${{ matrix.product }}
runs-on: ubuntu-latest
steps:
# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v2
# Generate resources/plugin-changenotes.html
- name: Generate Changenotes
run: |
gh release view --json body --jq '{ text: .body }' | gh api \
--method POST \
-H "Accept: application/vnd.github.v3+json" \
--input - \
/markdown \
> resources/plugin-changenotes.html
- name: Log Changenotes Content
run: cat resources/plugin-changenotes.html
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'
- name: Publish Stable Plugin
env:
PRODUCT_NAME: ${{ matrix.product }}
PUBLISH_TOKEN: ${{ secrets.JETBRAINS_TOKEN }}
PUBLISH_CHANNEL: release
run: ./gradlew --stacktrace publishPlugin