fix(package): release yml lose bin file (#14)

This commit is contained in:
Haze
2026-02-09 17:36:42 +08:00
committed by GitHub
Unverified
parent 41b6868646
commit 5eea27d196
3 changed files with 54 additions and 19 deletions

View File

@@ -58,10 +58,19 @@ jobs:
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install
- name: Build Vite
run: pnpm run build:vite
- name: Download uv binaries for macOS
if: matrix.platform == 'mac'
run: pnpm run uv:download:mac
- name: Download uv binaries for Windows
if: matrix.platform == 'win'
run: pnpm run uv:download:win
- name: Download uv binaries for Linux
if: matrix.platform == 'linux'
run: pnpm run uv:download:linux
# macOS specific steps
- name: Build macOS
@@ -80,10 +89,6 @@ jobs:
ulimit -n 65536
echo "File descriptor limit: $(ulimit -n)"
# Create missing bin directories to avoid warnings
mkdir -p resources/bin/darwin-x64
mkdir -p resources/bin/darwin-arm64
pnpm run package:mac
# Windows specific steps
@@ -103,15 +108,6 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm run package:linux
- name: List build artifacts
shell: bash
run: |
echo "=== Build artifacts in release/ folder ==="
ls -lh release/ || echo "No release folder found"
echo ""
echo "=== File types generated ==="
find release/ -type f -exec file {} \; || true
- name: Upload artifacts
uses: actions/upload-artifact@v4
with: