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 working-directory: ./Client
run: npm ci run: npm ci
- name: Clean previous builds
working-directory: ./Client
run: rm -rf dist || true
- name: Build for ${{ matrix.os }} - name: Build for ${{ matrix.os }}
working-directory: ./Client working-directory: ./Client
run: | run: |
@ -51,6 +55,7 @@ jobs:
name: client-${{ matrix.os }} name: client-${{ matrix.os }}
path: Client/dist/ path: Client/dist/
retention-days: 30 retention-days: 30
continue-on-error: true
package: package:
needs: build needs: build
@ -73,15 +78,25 @@ jobs:
run: | run: |
# Windows files # Windows files
mkdir -p release/Windows 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 # macOS files
mkdir -p release/macOS 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 # Linux files
mkdir -p release/Linux 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 # Create platform info file
cat > release/PLATFORMS.txt << EOF cat > release/PLATFORMS.txt << EOF