From: Michael Wallner Date: Mon, 21 Dec 2020 09:17:59 +0000 (+0100) Subject: ci: gh-actions: attempt to fix mingw env X-Git-Tag: 1.1.0-beta1~17 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=8ea8b1b7bd8a71d4a355a25fb8911c2b8ffec6d8;p=m6w6%2Flibmemcached ci: gh-actions: attempt to fix mingw env --- diff --git a/.github/workflows/cmake-build-ci.gen b/.github/workflows/cmake-build-ci.gen index 1ac55f9e..99e0dd04 100755 --- a/.github/workflows/cmake-build-ci.gen +++ b/.github/workflows/cmake-build-ci.gen @@ -103,7 +103,7 @@ function steps_setenv($os_vnd, $splat_map = null) { - name: Prepare environment (MinGW) if: env.CC_VND == 'mingw' run: | - echo "CMAKE_GENERATOR=\"MinGW Makefiles\"" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo 'CMAKE_GENERATOR="MinGW Makefiles"' | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append $os_vers) { diff --git a/.github/workflows/cmake-build-ci.yml b/.github/workflows/cmake-build-ci.yml index fcb497a5..53eb146b 100644 --- a/.github/workflows/cmake-build-ci.yml +++ b/.github/workflows/cmake-build-ci.yml @@ -360,7 +360,7 @@ jobs: - name: Prepare environment (MinGW) if: env.CC_VND == 'mingw' run: | - echo "CMAKE_GENERATOR=\"MinGW Makefiles\"" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo 'CMAKE_GENERATOR="MinGW Makefiles"' | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - name: Install dependencies (Windows) if: runner.os == 'Windows' uses: msys2/setup-msys2@v2