[IDEA] Version 1.4.0.1 #34
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
# 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@v4 | |
with: | |
name: KerboScript(kOS).zip | |
path: IDEA/build/distributions/KerboScript(kOS).zip |