@@ -32,22 +32,26 @@ jobs:
32
32
version : ${{ steps.properties.outputs.version }}
33
33
changelog : ${{ steps.properties.outputs.changelog }}
34
34
steps :
35
+ - name : Maximize Build Space
36
+ run : |
37
+ sudo rm -rf /usr/share/dotnet
38
+ sudo rm -rf /usr/local/lib/android
39
+ sudo rm -rf /opt/ghc
35
40
36
41
# Check out current repository
37
42
- name : Fetch Sources
38
- uses : actions/checkout@v2.4.0
43
+ uses : actions/checkout@v3
39
44
40
45
# Validate wrapper
41
46
- name : Gradle Wrapper Validation
42
47
uses : gradle/wrapper-validation-action@v1.0.4
43
48
44
49
# Setup Java 11 environment for the next steps
45
50
- name : Setup Java
46
- uses : actions/setup-java@v2
51
+ uses : actions/setup-java@v3
47
52
with :
48
53
distribution : zulu
49
54
java-version : 11
50
- cache : gradle
51
55
52
56
# Set environment variables
53
57
- name : Export Properties
@@ -76,14 +80,14 @@ jobs:
76
80
# Collect Tests Result of failed tests
77
81
- name : Collect Tests Result
78
82
if : ${{ failure() }}
79
- uses : actions/upload-artifact@v2
83
+ uses : actions/upload-artifact@v3
80
84
with :
81
85
name : tests-result
82
86
path : ${{ github.workspace }}/build/reports/tests
83
87
84
88
# Cache Plugin Verifier IDEs
85
89
- name : Setup Plugin Verifier IDEs Cache
86
- uses : actions/cache@v2.1.7
90
+ uses : actions/cache@v3
87
91
with :
88
92
path : ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
89
93
key : plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}
@@ -95,14 +99,14 @@ jobs:
95
99
# Collect Plugin Verifier Result
96
100
- name : Collect Plugin Verifier Result
97
101
if : ${{ always() }}
98
- uses : actions/upload-artifact@v2
102
+ uses : actions/upload-artifact@v3
99
103
with :
100
104
name : pluginVerifier-result
101
105
path : ${{ github.workspace }}/build/reports/pluginVerifier
102
106
103
107
# Run Qodana inspections
104
108
- name : Qodana - Code Inspection
105
- uses : JetBrains/qodana-action@v4 .2.5
109
+ uses : JetBrains/qodana-action@v2022 .2.1
106
110
107
111
# Prepare plugin archive content for creating artifact
108
112
- name : Prepare Plugin Artifact
@@ -117,7 +121,7 @@ jobs:
117
121
118
122
# Store already-built plugin as an artifact for downloading
119
123
- name : Upload artifact
120
- uses : actions/upload-artifact@v2.2.4
124
+ uses : actions/upload-artifact@v3
121
125
with :
122
126
name : ${{ steps.artifact.outputs.filename }}
123
127
path : ./build/distributions/content/*/*
@@ -129,11 +133,13 @@ jobs:
129
133
if : github.event_name != 'pull_request'
130
134
needs : build
131
135
runs-on : ubuntu-latest
136
+ permissions :
137
+ contents : write
132
138
steps :
133
139
134
140
# Check out current repository
135
141
- name : Fetch Sources
136
- uses : actions/checkout@v2.4.0
142
+ uses : actions/checkout@v3
137
143
138
144
# Remove old release drafts by using the curl request for the available releases with draft flag
139
145
- name : Remove Old Release Drafts
0 commit comments