Update build-client.yml

This commit is contained in:
Robert MacRae 2026-01-24 17:02:11 -04:00
parent b4ec446d49
commit bc4d5ef377

View File

@ -58,15 +58,17 @@ jobs:
fi
shell: bash
- name: Clean previous builds
- name: Clean previous builds (Windows)
if: matrix.os == 'windows-latest'
working-directory: ./Client
run: |
if [ "${{ matrix.os }}" = "windows-latest" ]; then
if exist dist rmdir /s /q dist
else
rm -rf dist
fi
shell: ${{ matrix.os == 'windows-latest' && 'cmd' || 'bash' }}
run: if exist dist rmdir /s /q dist
shell: cmd
- name: Clean previous builds (Unix)
if: matrix.os != 'windows-latest'
working-directory: ./Client
run: rm -rf dist
shell: bash
- name: Build for ${{ matrix.os }}
working-directory: ./Client