@@ -32,22 +32,26 @@ jobs:
3232 version : ${{ steps.properties.outputs.version }}
3333 changelog : ${{ steps.properties.outputs.changelog }}
3434 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
3540
3641 # Check out current repository
3742 - name : Fetch Sources
38- uses : actions/checkout@v2.4.0
43+ uses : actions/checkout@v3
3944
4045 # Validate wrapper
4146 - name : Gradle Wrapper Validation
42474348
4449 # Setup Java 11 environment for the next steps
4550 - name : Setup Java
46- uses : actions/setup-java@v2
51+ uses : actions/setup-java@v3
4752 with :
4853 distribution : zulu
4954 java-version : 11
50- cache : gradle
5155
5256 # Set environment variables
5357 - name : Export Properties
@@ -76,14 +80,14 @@ jobs:
7680 # Collect Tests Result of failed tests
7781 - name : Collect Tests Result
7882 if : ${{ failure() }}
79- uses : actions/upload-artifact@v2
83+ uses : actions/upload-artifact@v3
8084 with :
8185 name : tests-result
8286 path : ${{ github.workspace }}/build/reports/tests
8387
8488 # Cache Plugin Verifier IDEs
8589 - name : Setup Plugin Verifier IDEs Cache
86- uses : actions/cache@v2.1.7
90+ uses : actions/cache@v3
8791 with :
8892 path : ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
8993 key : plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}
@@ -95,14 +99,14 @@ jobs:
9599 # Collect Plugin Verifier Result
96100 - name : Collect Plugin Verifier Result
97101 if : ${{ always() }}
98- uses : actions/upload-artifact@v2
102+ uses : actions/upload-artifact@v3
99103 with :
100104 name : pluginVerifier-result
101105 path : ${{ github.workspace }}/build/reports/pluginVerifier
102106
103107 # Run Qodana inspections
104108 - name : Qodana - Code Inspection
105- uses : JetBrains/qodana-action@v4 .2.5
109+ uses : JetBrains/qodana-action@v2022 .2.1
106110
107111 # Prepare plugin archive content for creating artifact
108112 - name : Prepare Plugin Artifact
@@ -117,7 +121,7 @@ jobs:
117121
118122 # Store already-built plugin as an artifact for downloading
119123 - name : Upload artifact
120- uses : actions/upload-artifact@v2.2.4
124+ uses : actions/upload-artifact@v3
121125 with :
122126 name : ${{ steps.artifact.outputs.filename }}
123127 path : ./build/distributions/content/*/*
@@ -129,11 +133,13 @@ jobs:
129133 if : github.event_name != 'pull_request'
130134 needs : build
131135 runs-on : ubuntu-latest
136+ permissions :
137+ contents : write
132138 steps :
133139
134140 # Check out current repository
135141 - name : Fetch Sources
136- uses : actions/checkout@v2.4.0
142+ uses : actions/checkout@v3
137143
138144 # Remove old release drafts by using the curl request for the available releases with draft flag
139145 - name : Remove Old Release Drafts
0 commit comments