diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index c7b6c4f..a8dce5b 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -45,10 +45,10 @@ jobs: - name: Clear old build directiories if: ${{ matrix.os }} == 'windows-latest' run: | - rm -R ${{ steps.strings.outputs.build-output-dir }}-ECM - rm -R ${{ steps.strings.outputs.build-output-dir }}-kca - rm -R ${{ steps.strings.outputs.build-output-dir }}-kconfig - rm -R ${{ steps.strings.outputs.build-output-dir }}-karchive + Remove-Item -LiteralPath "${{ steps.strings.outputs.build-output-dir }}-ECM" -Force -Recurse -ErrorAction Ignore + Remove-Item -LiteralPath "${{ steps.strings.outputs.build-output-dir }}-kca" -Force -Recurse -ErrorAction Ignore + Remove-Item -LiteralPath "${{ steps.strings.outputs.build-output-dir }}-kconfig" -Force -Recurse -ErrorAction Ignore + Remove-Item -LiteralPath "${{ steps.strings.outputs.build-output-dir }}-karchive" -Force -Recurse -ErrorAction Ignore - name: Build and install Extra CMake Modules run: |