From b3cdb8e26e7dcc9bacfc546e0d1ebfe2fb4f05b9 Mon Sep 17 00:00:00 2001 From: fujie Date: Sat, 3 Jan 2026 13:52:25 +0800 Subject: [PATCH] fix: use gh cli for asset upload to support chinese filenames --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1478f88..2bc2f15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -331,10 +331,15 @@ jobs: prerelease: ${{ github.event.inputs.prerelease || false }} files: | plugin_versions.json - release_plugins/**/*.py env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Upload Release Assets + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + find release_plugins -type f -name "*.py" -print0 | xargs -0 gh release upload ${{ steps.version.outputs.version }} --clobber + - name: Summary run: | echo "## 🚀 Release Created Successfully!" >> $GITHUB_STEP_SUMMARY