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 fi
shell: bash shell: bash
- name: Clean previous builds - name: Clean previous builds (Windows)
if: matrix.os == 'windows-latest'
working-directory: ./Client working-directory: ./Client
run: | run: if exist dist rmdir /s /q dist
if [ "${{ matrix.os }}" = "windows-latest" ]; then shell: cmd
if exist dist rmdir /s /q dist
else - name: Clean previous builds (Unix)
rm -rf dist if: matrix.os != 'windows-latest'
fi working-directory: ./Client
shell: ${{ matrix.os == 'windows-latest' && 'cmd' || 'bash' }} run: rm -rf dist
shell: bash
- name: Build for ${{ matrix.os }} - name: Build for ${{ matrix.os }}
working-directory: ./Client working-directory: ./Client