From 32df4fd82b325e179df35bf2da773814a9e92397 Mon Sep 17 00:00:00 2001 From: tianyao Date: Fri, 24 Apr 2026 04:42:45 +0000 Subject: [PATCH] ci: only include zip file in release assets and artifacts Remove individual files (main.js, manifest.json, styles.css) from release assets and build artifacts. Only keep the zip package. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/check.yml | 6 +----- .releaserc.json | 5 +---- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index fc44335..ba1da9d 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -107,9 +107,5 @@ jobs: uses: actions/upload-artifact@v4 with: name: plugin-build-${{ steps.version.outputs.version }}-${{ github.sha }} - path: | - ${{ env.ZIP_NAME }} - main.js - manifest.json - styles.css + path: ${{ env.ZIP_NAME }} retention-days: 7 diff --git a/.releaserc.json b/.releaserc.json index f8f9b1a..454b3d2 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -65,10 +65,7 @@ "@semantic-release/github", { "assets": [ - { "path": "git-files-push-*.zip", "label": "Plugin Package" }, - { "path": "main.js", "label": "main.js" }, - { "path": "manifest.json", "label": "manifest.json" }, - { "path": "styles.css", "label": "styles.css" } + { "path": "git-files-push-*.zip", "label": "Plugin Package" } ] } ]