This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/grails-intellij-plugin.git


The following commit(s) were added to refs/heads/main by this push:
     new 2195770  Do not double zip the plugin install zip
2195770 is described below

commit 2195770767490ec45b8de85c0e71d4bbc464eb42
Author: James Daugherty <[email protected]>
AuthorDate: Mon Jul 20 09:12:32 2026 -0500

    Do not double zip the plugin install zip
---
 .github/workflows/gradle.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 38ed13f..12a634a 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -45,12 +45,16 @@ jobs:
           cache-provider: basic # 'basic' uses the MIT-licensed, open-source 
cache provider; the default 'enhanced' provider (v6+) is proprietary (Gradle 
commercial Terms of Use)
       - name: "🏗️ Build & Test"
         run: ./gradlew check buildPlugin
+      - name: "📝 Determine plugin ZIP name"
+        id: plugin-zip
+        run: echo "name=$(basename build/distributions/*.zip .zip)" >> 
"$GITHUB_OUTPUT"
       - name: "📦 Upload plugin ZIP"
         id: upload-plugin
         uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a 
# v7.0.1
         with:
-          name: plugin-zip
+          name: ${{ steps.plugin-zip.outputs.name }}
           path: build/distributions/*.zip
+          archive: false # serve the plugin zip as-is instead of wrapping it 
in another zip (requires upload-artifact v7+)
       - name: "📢 Publish plugin to job summary"
         env:
           ARTIFACT_URL: ${{ steps.upload-plugin.outputs.artifact-url }}
@@ -61,7 +65,7 @@ jobs:
             echo "| File | Size | Download |"
             echo "|------|------|----------|"
             for zip in build/distributions/*.zip; do
-              echo "| \`$(basename "$zip")\` | $(du -h "$zip" | cut -f1) | 
[plugin-zip artifact]($ARTIFACT_URL) |"
+              echo "| \`$(basename "$zip")\` | $(du -h "$zip" | cut -f1) | 
[${{ steps.plugin-zip.outputs.name }} artifact]($ARTIFACT_URL) |"
             done
           } >> "$GITHUB_STEP_SUMMARY"
   verify:

Reply via email to