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:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user