Fix: recent session issue #31
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: Java CI with Gradle | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 19 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '19' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Generate report from runPluginVerifier | |
run: ./gradlew runPluginVerifier --scan | |
- name: Archive verification report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: verification-report | |
path: verificationReport/** | |
build-and-publish: | |
runs-on: ubuntu-latest | |
environment: intellij | |
env: | |
# Setting an environment variable with the value of a configuration variable | |
JETBRAINS_PUBLISH_TOKEN: ${{ vars.JETBRAINS_PUBLISH_TOKEN }} | |
JEBTRAINS_PUBLISH_CHANNEL: ${{ vars.JEBTRAINS_PUBLISH_CHANNEL }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 19 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '19' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Publish to jetbrains alpha channel | |
run: ./gradlew publishPlugin | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: plugin-build | |
path: build/distributions/plugin-*.zip |