Update build-client.yml
This commit is contained in:
parent
b4ec446d49
commit
bc4d5ef377
18
.github/workflows/build-client.yml
vendored
18
.github/workflows/build-client.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user