Skip to content

[IDEA] Version 1.4.0.1 #33

[IDEA] Version 1.4.0.1

[IDEA] Version 1.4.0.1 #33

# Taken from https://github.com/eskatos/gradle-command-action
name: Build IDEA plugin and run tests
on:
push:
paths:
- 'IDEA/**'
pull_request:
paths:
- 'IDEA/**'
jobs:
gradle:
# Note: if we wanted, we could expand this to test on multiple OS's
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: '17'
- name: Run tests and build plugin
run: |
cd IDEA
chmod +x gradlew
./gradlew test buildPlugin
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: KerboScript(kOS).zip
path: IDEA/build/distributions/KerboScript(kOS).zip