@@ -33,21 +33,27 @@ jobs:
3333 changelog : ${{ steps.properties.outputs.changelog }}
3434 steps :
3535
36+ # Free GitHub Actions Environment Disk Space
37+ - name : Maximize Build Space
38+ run : |
39+ sudo rm -rf /usr/share/dotnet
40+ sudo rm -rf /usr/local/lib/android
41+ sudo rm -rf /opt/ghc
42+
3643 # Check out current repository
3744 - name : Fetch Sources
38- uses : actions/checkout@v2.4.0
45+ uses : actions/checkout@v3
3946
4047 # Validate wrapper
4148 - name : Gradle Wrapper Validation
4249 uses : gradle/wrapper-validation-action@v1.0.4
4350
4451 # Setup Java 11 environment for the next steps
4552 - name : Setup Java
46- uses : actions/setup-java@v2
53+ uses : actions/setup-java@v3
4754 with :
4855 distribution : zulu
4956 java-version : 11
50- cache : gradle
5157
5258 # Set environment variables
5359 - name : Export Properties
@@ -76,14 +82,14 @@ jobs:
7682 # Collect Tests Result of failed tests
7783 - name : Collect Tests Result
7884 if : ${{ failure() }}
79- uses : actions/upload-artifact@v2
85+ uses : actions/upload-artifact@v3
8086 with :
8187 name : tests-result
8288 path : ${{ github.workspace }}/build/reports/tests
8389
8490 # Cache Plugin Verifier IDEs
8591 - name : Setup Plugin Verifier IDEs Cache
86- uses : actions/cache@v2.1.7
92+ uses : actions/cache@v3
8793 with :
8894 path : ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides
8995 key : plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}
@@ -95,14 +101,14 @@ jobs:
95101 # Collect Plugin Verifier Result
96102 - name : Collect Plugin Verifier Result
97103 if : ${{ always() }}
98- uses : actions/upload-artifact@v2
104+ uses : actions/upload-artifact@v3
99105 with :
100106 name : pluginVerifier-result
101107 path : ${{ github.workspace }}/build/reports/pluginVerifier
102108
103109 # Run Qodana inspections
104110 - name : Qodana - Code Inspection
105- uses : JetBrains/qodana-action@v4 .2.5
111+ uses : JetBrains/qodana-action@v2022 .2.1
106112
107113 # Prepare plugin archive content for creating artifact
108114 - name : Prepare Plugin Artifact
@@ -117,7 +123,7 @@ jobs:
117123
118124 # Store already-built plugin as an artifact for downloading
119125 - name : Upload artifact
120- uses : actions/upload-artifact@v2.2.4
126+ uses : actions/upload-artifact@v3
121127 with :
122128 name : ${{ steps.artifact.outputs.filename }}
123129 path : ./build/distributions/content/*/*
@@ -129,11 +135,13 @@ jobs:
129135 if : github.event_name != 'pull_request'
130136 needs : build
131137 runs-on : ubuntu-latest
138+ permissions :
139+ contents : write
132140 steps :
133141
134142 # Check out current repository
135143 - name : Fetch Sources
136- uses : actions/checkout@v2.4.0
144+ uses : actions/checkout@v3
137145
138146 # Remove old release drafts by using the curl request for the available releases with draft flag
139147 - name : Remove Old Release Drafts
0 commit comments