fix(ci(release-workflow)): use npx tsx to run release-upload.ts in the Gitea release workflow instead of installing tsx globally

This commit is contained in:
2026-01-09 18:06:22 +00:00
parent dd5ea36636
commit 50d437aed7
2 changed files with 8 additions and 3 deletions

View File

@@ -76,12 +76,10 @@ jobs:
echo "Created release with ID: $RELEASE_ID"
# Upload assets using TypeScript (curl has 2GB multipart limit)
pnpm install -g tsx
GITEA_TOKEN="${{ secrets.GITHUB_TOKEN }}" \
GITEA_REPO="${{ gitea.repository }}" \
RELEASE_ID="$RELEASE_ID" \
tsx .gitea/release-upload.ts
npx tsx .gitea/release-upload.ts
- name: Cleanup old releases (keep 3 latest)
run: |