Update build-client.yml

This commit is contained in:
Robert MacRae 2026-01-24 16:53:26 -04:00
parent 9c0f367182
commit cada0467bd

View File

@ -33,6 +33,10 @@ jobs:
working-directory: ./Client
run: npm ci
- name: Clean previous builds
working-directory: ./Client
run: rm -rf dist || true
- name: Build for ${{ matrix.os }}
working-directory: ./Client
run: |
@ -51,6 +55,7 @@ jobs:
name: client-${{ matrix.os }}
path: Client/dist/
retention-days: 30
continue-on-error: true
package:
needs: build
@ -73,15 +78,25 @@ jobs:
run: |
# Windows files
mkdir -p release/Windows
cp -r artifacts/client-windows-latest/* release/Windows/ 2>/dev/null || true
if [ -d "artifacts/client-windows-latest" ]; then
cp -r artifacts/client-windows-latest/* release/Windows/ || true
fi
# macOS files
mkdir -p release/macOS
cp -r artifacts/client-macos-latest/* release/macOS/ 2>/dev/null || true
if [ -d "artifacts/client-macos-latest" ]; then
cp -r artifacts/client-macos-latest/* release/macOS/ || true
fi
# Linux files
mkdir -p release/Linux
cp -r artifacts/client-ubuntu-latest/* release/Linux/ 2>/dev/null || true
if [ -d "artifacts/client-ubuntu-latest" ]; then
cp -r artifacts/client-ubuntu-latest/* release/Linux/ || true
fi
# List what we actually got
echo "=== Build Results ==="
find release -type f -name "*" | head -20 || true
# Create platform info file
cat > release/PLATFORMS.txt << EOF