16
16
jobs :
17
17
publish_plugin_and_cli :
18
18
runs-on : ubuntu-20.04
19
+ container : unittestbot/java-env:java11-zulu-jdk-fx-gradle7.4.2-kotlinc1.7.0
19
20
20
21
steps :
21
- - uses : actions/checkout@v2
22
- - uses : actions/setup-java@v2
23
- with :
24
- java-version : ' 11'
25
- distribution : ' zulu'
26
- java-package : jdk+fx
27
- cache : gradle
28
- - uses : gradle/gradle-build-action@v2
29
- with :
30
- gradle-version : 7.4.2
22
+ - uses : actions/checkout@v3
31
23
32
24
- name : Set environment variables
33
25
run : |
@@ -41,14 +33,13 @@ jobs:
41
33
42
34
- name : Build UTBot IntelliJ IDEA plugin
43
35
run : |
44
- export KOTLIN_HOME="/usr"
45
36
gradle buildPlugin --no-daemon -PsemVer=${{ env.VERSION }}
46
37
cd utbot-intellij/build/distributions
47
38
unzip utbot-intellij-${{ env.VERSION }}.zip
48
39
rm utbot-intellij-${{ env.VERSION }}.zip
49
-
40
+
50
41
- name : Archive UTBot IntelliJ IDEA plugin
51
- uses : actions/upload-artifact@v2
42
+ uses : actions/upload-artifact@v3
52
43
with :
53
44
name : utbot-intellij-${{ env.VERSION }}
54
45
path : utbot-intellij/build/distributions/*
58
49
export KOTLIN_HOME="/usr"
59
50
cd utbot-cli
60
51
gradle clean build --no-daemon -PsemVer=${{ env.VERSION }}
61
- cd build/libs
62
52
63
53
- name : Archive UTBot CLI
64
- uses : actions/upload-artifact@v2
54
+ uses : actions/upload-artifact@v3
65
55
with :
66
56
name : utbot-cli-${{ env.VERSION }}
67
57
path : utbot-cli/build/libs/utbot-cli-${{ env.VERSION }}.jar
0 commit comments