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"
|
echo "Created release with ID: $RELEASE_ID"
|
||||||
|
|
||||||
# Upload assets using TypeScript (curl has 2GB multipart limit)
|
# Upload assets using TypeScript (curl has 2GB multipart limit)
|
||||||
pnpm install -g tsx
|
|
||||||
|
|
||||||
GITEA_TOKEN="${{ secrets.GITHUB_TOKEN }}" \
|
GITEA_TOKEN="${{ secrets.GITHUB_TOKEN }}" \
|
||||||
GITEA_REPO="${{ gitea.repository }}" \
|
GITEA_REPO="${{ gitea.repository }}" \
|
||||||
RELEASE_ID="$RELEASE_ID" \
|
RELEASE_ID="$RELEASE_ID" \
|
||||||
tsx .gitea/release-upload.ts
|
npx tsx .gitea/release-upload.ts
|
||||||
|
|
||||||
- name: Cleanup old releases (keep 3 latest)
|
- name: Cleanup old releases (keep 3 latest)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# 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)
|
## 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
|
Point updater at the correct repository API (code.foss.global ecobridge.xyz/eco_os) and bump project/daemon versions to 0.3.6
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user