10
10
11
11
jobs :
12
12
build :
13
+ permissions :
14
+ contents : read
15
+ actions : write
16
+
13
17
strategy :
14
18
matrix :
15
19
product : [clion-oss-latest-stable, clion-oss-oldest-stable]
18
22
19
23
steps :
20
24
- name : Checkout
21
- uses : actions/checkout@v4
25
+ uses : actions/checkout@v5
22
26
23
27
- name : Setup Bazel
24
28
uses :
bazel-contrib/[email protected]
@@ -48,23 +52,27 @@ jobs:
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
54
62
55
63
steps :
56
64
- name : Download Latest Plugin Zip
57
- uses : actions/download-artifact@v4
65
+ uses : actions/download-artifact@v5
58
66
with :
59
67
name : clion-oss-latest-stable
60
68
61
69
- name : Download Oldest Plugin Zip
62
- uses : actions/download-artifact@v4
70
+ uses : actions/download-artifact@v5
63
71
with :
64
72
name : clion-oss-oldest-stable
65
73
66
74
- name : Create Release
67
- uses : softprops/action-gh-release@v1
75
+ uses : softprops/action-gh-release@v2
68
76
with :
69
77
files : " *.zip"
70
78
tag_name : ${{ inputs.version }}
@@ -76,18 +84,22 @@ jobs:
76
84
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
77
85
78
86
jb-release :
87
+ permissions :
88
+ contents : none
89
+ actions : read
90
+
79
91
needs : build
80
92
81
93
runs-on : ubuntu-latest
82
94
83
95
steps :
84
96
- name : Download Latest Plugin Zip
85
- uses : actions/download-artifact@v4
97
+ uses : actions/download-artifact@v5
86
98
with :
87
99
name : clion-oss-latest-stable
88
100
89
101
- name : Download Oldest Plugin Zip
90
- uses : actions/download-artifact@v4
102
+ uses : actions/download-artifact@v5
91
103
with :
92
104
name : clion-oss-oldest-stable
93
105
0 commit comments