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 <noreply@anthropic.com>
This commit is contained in:
tianyao 2026-04-24 04:42:45 +00:00
parent bc84e98e19
commit 32df4fd82b
2 changed files with 2 additions and 9 deletions

View file

@ -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

View file

@ -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" }
]
}
]