19
19
GRADLE_OPTS : -Dorg.gradle.configureondemand=true -Dorg.gradle.parallel=false -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
20
20
21
21
jobs :
22
- publish_linux :
22
+ publish_base :
23
23
runs-on : ubuntu-latest
24
24
25
25
steps :
@@ -44,12 +44,28 @@ jobs:
44
44
- name : publish js release
45
45
run : ./gradlew publishJsPublicationToDeployRepository
46
46
47
- - name : publish linux x64 release
48
- run : ./gradlew publishLinuxX64PublicationToDeployRepository
49
-
50
47
- name : publish bom release
51
48
run : ./gradlew publishKotestBomPublicationToDeployRepository
52
49
50
+ publish_linux :
51
+ runs-on : ubuntu-latest
52
+
53
+ steps :
54
+ - name : Checkout the repo
55
+ uses : actions/checkout@v2
56
+ with :
57
+ fetch-depth : 0
58
+ ref : ${{ github.event.inputs.branch }}
59
+
60
+ - name : Setup JDK
61
+ uses : actions/setup-java@v2
62
+ with :
63
+ distribution : ' zulu'
64
+ java-version : ' 8'
65
+
66
+ - name : publish linux x64 release
67
+ run : ./gradlew publishLinuxX64PublicationToDeployRepository
68
+
53
69
publish_macos :
54
70
runs-on : macos-11
55
71
needs : publish_linux
@@ -72,14 +88,21 @@ jobs:
72
88
- name : publish macosArm64 release
73
89
run : ./gradlew publishMacosArm64PublicationToDeployRepository
74
90
75
- - name : publish tvosX64 release
76
- run : ./gradlew publishTvosX64PublicationToDeployRepository
91
+ publish_watchos :
92
+ runs-on : macos-11
93
+ needs : publish_linux
77
94
78
- - name : publish tvosArm64 release
79
- run : ./gradlew publishTvosArm64PublicationToDeployRepository
95
+ steps :
96
+ - name : Checkout the repo
97
+ uses : actions/checkout@v2
98
+ with :
99
+ fetch-depth : 0
100
+ ref : ${{ github.event.inputs.branch }}
80
101
81
- - name : publish tvosSimulatorArm64 release
82
- run : ./gradlew publishTvosSimulatorArm64PublicationToDeployRepository
102
+ - name : Setup JDK
103
+ uses : actions/setup-java@v1
104
+ with :
105
+ java-version : ' 8'
83
106
84
107
- name : publish watchosX64 release
85
108
run : ./gradlew publishWatchosX64PublicationToDeployRepository
@@ -96,6 +119,22 @@ jobs:
96
119
- name : publish watchosSimulatorArm64 release
97
120
run : ./gradlew publishWatchosSimulatorArm64PublicationToDeployRepository
98
121
122
+ publish_ios :
123
+ runs-on : macos-11
124
+ needs : publish_linux
125
+
126
+ steps :
127
+ - name : Checkout the repo
128
+ uses : actions/checkout@v2
129
+ with :
130
+ fetch-depth : 0
131
+ ref : ${{ github.event.inputs.branch }}
132
+
133
+ - name : Setup JDK
134
+ uses : actions/setup-java@v1
135
+ with :
136
+ java-version : ' 8'
137
+
99
138
- name : publish iosX64 release
100
139
run : ./gradlew publishIosX64PublicationToDeployRepository
101
140
@@ -108,6 +147,31 @@ jobs:
108
147
- name : publish iosSimulatorArm64 release
109
148
run : ./gradlew publishIosSimulatorArm64PublicationToDeployRepository
110
149
150
+ publish_tvos :
151
+ runs-on : macos-11
152
+ needs : publish_linux
153
+
154
+ steps :
155
+ - name : Checkout the repo
156
+ uses : actions/checkout@v2
157
+ with :
158
+ fetch-depth : 0
159
+ ref : ${{ github.event.inputs.branch }}
160
+
161
+ - name : Setup JDK
162
+ uses : actions/setup-java@v1
163
+ with :
164
+ java-version : ' 8'
165
+
166
+ - name : publish tvosX64 release
167
+ run : ./gradlew publishTvosX64PublicationToDeployRepository
168
+
169
+ - name : publish tvosArm64 release
170
+ run : ./gradlew publishTvosArm64PublicationToDeployRepository
171
+
172
+ - name : publish tvosSimulatorArm64 release
173
+ run : ./gradlew publishTvosSimulatorArm64PublicationToDeployRepository
174
+
111
175
publish_windows :
112
176
runs-on : windows-latest
113
177
needs : publish_macos
0 commit comments