Skip to content

[IDEA] Version 1.4.0.1 #35

[IDEA] Version 1.4.0.1

[IDEA] Version 1.4.0.1 #35

# 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@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
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@v4
with:
name: KerboScript(kOS).zip
path: IDEA/build/distributions/KerboScript(kOS).zip