Skip to content

#v1.3.0

#v1.3.0 #21

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-preview'
env:
IS_CI_BUILD: 'true'
ORG_GRADLE_PROJECT_intellijPublishToken: ${{secrets.JETBRAINSPLUGINMARKETPLACE}}
APPLICATIONINSIGHTS_INSTRUMENTATIONKEY: ${{secrets.APPLICATIONINSIGHTS_INSTRUMENTATIONKEY}}
permissions:
contents: read
jobs:
build-test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Update Secrets
run: echo applicationInsightsInstrumentationKey="$APPLICATIONINSIGHTS_INSTRUMENTATIONKEY" > src/main/resources/application.properties
- name: Gradle Build
run: ./gradlew :buildPlugin -PbuildType=stable
- name: Gradle Publish to Marketplace
run: ./gradlew :publishPlugin