-
Notifications
You must be signed in to change notification settings - Fork 25
61 lines (53 loc) · 1.86 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: release
on:
workflow_dispatch:
jobs:
release:
strategy:
matrix:
product: [ "IC-211", "IC-212", "IC-213", "IC-221", "IC-222", "IC-223", "IC-231", "IC-232", "IC-233" ]
include:
- product: "IC-211"
java: "11"
distribution: "adopt"
- product: "IC-212"
java: "11"
distribution: "adopt"
- product: "IC-213"
java: "11"
distribution: "adopt"
- product: "IC-221"
java: "11"
distribution: "adopt"
- product: "IC-222"
java: "11"
distribution: "adopt"
- product: "IC-223"
java: "17"
distribution: "temurin"
- product: "IC-231"
java: "17"
distribution: "temurin"
- product: "IC-232"
java: "17"
distribution: "temurin"
- product: "IC-233"
java: "17"
distribution: "temurin"
max-parallel: 1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
- name: deploy to jetbrains
run: ./gradlew --stacktrace publishPlugin
env:
PRODUCT_NAME: ${{ matrix.product }}
env:
GRADLE_OPTS: -Dorg.gradle.configureondemand=true -Dorg.gradle.parallel=false -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
JETBRAINS_TOKEN: ${{ secrets.JETBRAINS_TOKEN }}