Skip to content

fix #701; fix #702 #100

fix #701; fix #702

fix #701; fix #702 #100

Workflow file for this run

name: Snapshot
on:
push:
branches:
- master
jobs:
greet:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set LD_VERSION
run: echo "LD_VERSION=0.0" >> $GITHUB_ENV
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build the plugin
run: ./gradlew buildPlugin
env:
LD_VERSION: ${{ env.LD_VERSION }}
#- name: Verify plugin
# id: verify
# uses: ChrisCarini/intellij-platform-plugin-verifier-action@latest
# with:
# ide-versions: |
# ideaIC:2019.3
# ideaIC:2020.1
# ideaIC:2020.2
# ideaIC:LATEST-EAP-SNAPSHOT
#- name: Print verify contents
# run: |
# echo "The log file path is: ${{steps.verify.outputs.verification-output-log-filename}}" ;
# cat ${{steps.verify.outputs.verification-output-log-filename}}
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
# TODO: This uploads a zip called `distributions`; see what we can do to just upload the produced plugin itself.
name: leetcode-editor-snapshot
path: build/distributions/leetcode-editor-${{ env.LD_VERSION }}.zip