Skip to content

Commit bf4e5bb

Browse files
committed
chore: update workflow to publish intellij-package to github
1 parent 9415c3b commit bf4e5bb

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.github/workflows/build-test-package-publish.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -205,22 +205,11 @@ jobs:
205205
name: wheel-package
206206
path: dist/*.whl
207207

208-
- name: Prepare IntelliJ Plugin Artifact
209-
id: artifact
210-
shell: bash
211-
run: |
212-
cd ${{ github.workspace }}/intellij-client/build/distributions
213-
FILENAME=`ls *.zip`
214-
unzip "$FILENAME" -d content
215-
216-
echo "filename=${FILENAME:0:-4}" >> $GITHUB_OUTPUT
217-
218-
# Store already-built plugin as an artifact for downloading
219-
- name: Upload IntelliJ plugin
208+
- name: Upload intellij plugin
220209
uses: actions/upload-artifact@v4
221210
with:
222-
name: ${{ steps.artifact.outputs.filename }}
223-
path: ./intellij-client/build/distributions/content/*/*
211+
name: intellij-package
212+
path: ./intellij-client/build/distributions/*.zip
224213

225214
publish:
226215
runs-on: ubuntu-latest
@@ -264,6 +253,10 @@ jobs:
264253
with:
265254
name: wheel-package
266255
path: dist
256+
- uses: actions/download-artifact@v4
257+
with:
258+
name: intellij-package
259+
path: dist
267260

268261
- name: get release informations
269262
id: get_release_informations

0 commit comments

Comments
 (0)