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

View File

@@ -1,5 +1,12 @@
# Changelog
## 2026-01-09 - 0.3.8 - fix(ci(release-workflow))
use npx tsx to run release-upload.ts in the Gitea release workflow instead of installing tsx globally
- Removed 'pnpm install -g tsx' to avoid global installs in CI
- Replaced direct 'tsx' invocation with 'npx tsx' to run .gitea/release-upload.ts
- Reduces CI image footprint and avoids unnecessary global package installation
## 2026-01-09 - 0.3.7 - fix(daemon)
Point updater at the correct repository API (code.foss.global ecobridge.xyz/eco_os) and bump project/daemon versions to 0.3.6