File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and test
2
+
3
+ on :
4
+ - push
5
+ - pull_request
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout repo
12
+ uses : actions/checkout@v2
13
+ - name : Set up JDK 21
14
+ uses : actions/setup-java@v1
15
+ with :
16
+ java-version : 21
17
+ - name : Grant execute permission for gradlew
18
+ run : chmod +x gradlew
19
+ - name : Build with Gradle
20
+ run : ./gradlew build
21
+ - name : Upload artifacts
22
+ uses : actions/upload-artifact@master
23
+ with :
24
+ path : build/libs/*.jar
25
+ test :
26
+ runs-on : ubuntu-latest
27
+ needs : [build]
28
+ steps :
29
+ - name : Checkout repo
30
+ uses : actions/checkout@v2
31
+ - name : Download artifacts
32
+ uses : actions/download-artifact@v4
33
+ with :
34
+ path : extra-plugins/
35
+ merge-multiple : true
36
+ - name : Run tests
37
+ uses : SkriptLang/skript-test-action@feature/performance
38
+ with :
39
+ test_script_directory : src/test/scripts
40
+ extra_plugins_directory : extra-plugins/
You can’t perform that action at this time.
0 commit comments