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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user