From bf4e5bb8decb11b407af2ca09f4f5f9fb69e29ff Mon Sep 17 00:00:00 2001 From: Daniel Biehl Date: Mon, 30 Dec 2024 01:19:05 +0100 Subject: [PATCH] chore: update workflow to publish intellij-package to github --- .../workflows/build-test-package-publish.yml | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-test-package-publish.yml b/.github/workflows/build-test-package-publish.yml index 267f29d9..76a837d0 100644 --- a/.github/workflows/build-test-package-publish.yml +++ b/.github/workflows/build-test-package-publish.yml @@ -205,22 +205,11 @@ jobs: name: wheel-package path: dist/*.whl - - name: Prepare IntelliJ Plugin Artifact - id: artifact - shell: bash - run: | - cd ${{ github.workspace }}/intellij-client/build/distributions - FILENAME=`ls *.zip` - unzip "$FILENAME" -d content - - echo "filename=${FILENAME:0:-4}" >> $GITHUB_OUTPUT - - # Store already-built plugin as an artifact for downloading - - name: Upload IntelliJ plugin + - name: Upload intellij plugin uses: actions/upload-artifact@v4 with: - name: ${{ steps.artifact.outputs.filename }} - path: ./intellij-client/build/distributions/content/*/* + name: intellij-package + path: ./intellij-client/build/distributions/*.zip publish: runs-on: ubuntu-latest @@ -264,6 +253,10 @@ jobs: with: name: wheel-package path: dist + - uses: actions/download-artifact@v4 + with: + name: intellij-package + path: dist - name: get release informations id: get_release_informations