1
- name : Release
1
+ name : Release IJwB
2
2
3
3
on :
4
4
workflow_dispatch :
10
10
11
11
jobs :
12
12
build :
13
+ permissions :
14
+ contents : read
15
+ actions : write
16
+
13
17
strategy :
14
18
matrix :
15
- product : [clion -oss-latest-stable, clion -oss-oldest-stable]
19
+ product : [intellij -oss-latest-stable, intellij-oss-oldest-stable, intellij-ue-oss-latest-stable, intellij-ue -oss-oldest-stable]
16
20
17
21
runs-on : ubuntu-latest
18
22
@@ -32,13 +36,13 @@ jobs:
32
36
echo "VERSION = '${{ inputs.version }}'" > version.bzl
33
37
34
38
- name : Build Plugin Zip
35
- run : bazel build //clwb:clwb_bazel_zip --define=ij_product=${{ matrix.product }}
39
+ run : bazel build //ijwb:ijwb_bazel_zip --define=ij_product=${{ matrix.product }}
36
40
37
41
- name : Rename Plugin Zip
38
42
run : |
39
43
bazel build //intellij_platform_sdk:build_name --define=ij_product=${{ matrix.product }}
40
44
mkdir out
41
- mv bazel-bin/clwb/clwb_bazel .zip out/$(cat bazel-bin/intellij_platform_sdk/build_name.txt).zip
45
+ mv bazel-bin/ijwb/ijwb_bazel .zip out/$(cat bazel-bin/intellij_platform_sdk/build_name.txt).zip
42
46
43
47
- name : Upload Plugin Zip
44
48
uses : actions/upload-artifact@v4
48
52
retention-days : 1
49
53
50
54
gh-release :
55
+ permissions :
56
+ contents : write
57
+ actions : read
58
+
51
59
needs : build
52
60
53
61
runs-on : ubuntu-latest
@@ -56,26 +64,40 @@ jobs:
56
64
- name : Download Latest Plugin Zip
57
65
uses : actions/download-artifact@v5
58
66
with :
59
- name : clion-oss-latest-stable
67
+ name : intellij-oss-latest-stable
68
+
69
+ - name : Download Oldest Plugin Zip
70
+ uses : actions/download-artifact@v5
71
+ with :
72
+ name : intellij-oss-oldest-stable
73
+
74
+ - name : Download Latest Plugin Zip
75
+ uses : actions/download-artifact@v5
76
+ with :
77
+ name : intellij-ue-oss-latest-stable
60
78
61
79
- name : Download Oldest Plugin Zip
62
80
uses : actions/download-artifact@v5
63
81
with :
64
- name : clion -oss-oldest-stable
82
+ name : intellij-ue -oss-oldest-stable
65
83
66
84
- name : Create Release
67
85
uses : softprops/action-gh-release@v2
68
86
with :
69
87
files : " *.zip"
70
88
tag_name : ${{ inputs.version }}
71
- name : " CLwB Release ${{ inputs.version }}"
89
+ name : " IJwB Release ${{ inputs.version }}"
72
90
draft : false
73
91
prerelease : false
74
92
generate_release_notes : true
75
93
env :
76
94
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
77
95
78
96
jb-release :
97
+ permissions :
98
+ contents : none
99
+ actions : read
100
+
79
101
needs : build
80
102
81
103
runs-on : ubuntu-latest
@@ -84,12 +106,22 @@ jobs:
84
106
- name : Download Latest Plugin Zip
85
107
uses : actions/download-artifact@v5
86
108
with :
87
- name : clion-oss-latest-stable
109
+ name : intellij-oss-latest-stable
110
+
111
+ - name : Download Oldest Plugin Zip
112
+ uses : actions/download-artifact@v5
113
+ with :
114
+ name : intellij-oss-oldest-stable
115
+
116
+ - name : Download Latest Plugin Zip
117
+ uses : actions/download-artifact@v5
118
+ with :
119
+ name : intellij-ue-oss-latest-stable
88
120
89
121
- name : Download Oldest Plugin Zip
90
122
uses : actions/download-artifact@v5
91
123
with :
92
- name : clion -oss-oldest-stable
124
+ name : intellij-ue -oss-oldest-stable
93
125
94
126
- name : Upload Releases
95
127
run : |
0 commit comments