@@ -149,6 +149,30 @@ jobs:
149149 cache : " npm"
150150 cache-dependency-path : package-lock.json
151151
152+ # Validate wrapper
153+ - name : Gradle Wrapper Validation
154+ uses : gradle/actions/wrapper-validation@v4
155+
156+ # Set up Java environment for the next steps
157+ - name : Setup Java
158+ uses : actions/setup-java@v4
159+ with :
160+ distribution : zulu
161+ java-version : 21
162+
163+ # Setup Gradle
164+ - name : Setup Gradle
165+ uses : gradle/actions/setup-gradle@v4
166+ with :
167+ gradle-home-cache-cleanup : true
168+
169+ # Set environment variables
170+ - name : Export Properties
171+ id : properties
172+ shell : bash
173+ run : |
174+ echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT
175+
152176 - name : install node modules
153177 run : npm install --also=dev
154178
@@ -160,6 +184,9 @@ jobs:
160184 if : ${{ startsWith( github.ref, 'refs/tags/v') }}
161185 run : hatch run build:update-doc-links
162186
187+ - name : Update Changelog
188+ run : hatch run build:git-cliff -o CHANGELOG.md
189+
163190 - name : package
164191 run : hatch run build:package
165192
@@ -181,6 +208,23 @@ jobs:
181208 name : wheel-package
182209 path : dist/*.whl
183210
211+ - name : Prepare IntelliJ Plugin Artifact
212+ id : artifact
213+ shell : bash
214+ run : |
215+ cd ${{ github.workspace }}/intellij-client/build/distributions
216+ FILENAME=`ls *.zip`
217+ unzip "$FILENAME" -d content
218+
219+ echo "filename=${FILENAME:0:-4}" >> $GITHUB_OUTPUT
220+
221+ # Store already-built plugin as an artifact for downloading
222+ - name : Upload IntelliJ plugin
223+ uses : actions/upload-artifact@v4
224+ with :
225+ name : ${{ steps.artifact.outputs.filename }}
226+ path : ./intellij-client/build/distributions/content/*/*
227+
184228 publish :
185229 runs-on : ubuntu-latest
186230 needs : package
0 commit comments