ci: improve release workflow artifact uploads

- Use explicit file patterns to exclude builder config/debug files (builder-*.yml, *.yaml)
- Include blockmap files for efficient delta updates in auto-update scenarios
- Ensure only production-ready artifacts are uploaded to GitHub releases

This prevents accidental inclusion of builder configuration files in the release assets.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
DhanushSantosh
2026-01-17 19:18:15 +05:30
parent b9567f5904
commit 466c34afd4

View File

@@ -109,8 +109,8 @@ jobs:
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
files: | files: |
artifacts/macos-builds/* artifacts/macos-builds/*.{dmg,zip,blockmap}
artifacts/windows-builds/* artifacts/windows-builds/*.{exe,blockmap}
artifacts/linux-builds/* artifacts/linux-builds/*.{AppImage,deb,rpm,blockmap}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}