From 50d437aed77064a7b4c9a1adb62a9ccf93cac76a Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Fri, 9 Jan 2026 18:06:22 +0000 Subject: [PATCH] fix(ci(release-workflow)): use npx tsx to run release-upload.ts in the Gitea release workflow instead of installing tsx globally --- .gitea/workflows/release.yml | 4 +--- changelog.md | 7 +++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 46f8f0b..a0a3cd0 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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: | diff --git a/changelog.md b/changelog.md index 05fdeec..c8b4b3b 100644 --- a/changelog.md +++ b/changelog.md @@ -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