From 5159eedbb8faf9c90da3e04ca5ad10d8d7105e58 Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Mon, 4 May 2026 10:53:44 +0200 Subject: [PATCH] GitHub Actions - simplify plugin artifact upload in GitHub Actions workflow --- .github/workflows/build.yml | 15 ++------------- CHANGELOG.md | 1 + 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7165420..b6c53a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,23 +57,12 @@ jobs: - name: Build plugin run: ./gradlew buildPlugin - # Prepare plugin archive content for creating artifact - - name: Prepare Plugin Artifact - id: artifact - shell: bash - run: | - cd ${{ github.workspace }}/build/distributions - FILENAME=`ls *.zip` - unzip "$FILENAME" -d content - - echo "filename=${FILENAME:0:-4}" >> $GITHUB_OUTPUT - # Store an already-built plugin as an artifact for downloading - name: Upload artifact uses: actions/upload-artifact@v6 with: - name: ${{ steps.artifact.outputs.filename }} - path: ./build/distributions/content/*/* + name: plugin-distribution + path: ./build/distributions/*.zip # Run tests and upload a code coverage report test: diff --git a/CHANGELOG.md b/CHANGELOG.md index 676e2a5..1f1a86f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Dependencies - upgrade `org.jetbrains.intellij.platform` to `2.16.0` - Dependencies - upgrade IntelliJ IDEA to `2025.2.6.2` +- GitHub Actions - simplify plugin artifact upload in GitHub Actions workflow ### Removed