ci: gh-actions: attempt to fix mingw env
authorMichael Wallner <mike@php.net>
Mon, 21 Dec 2020 09:17:59 +0000 (10:17 +0100)
committerMichael Wallner <mike@php.net>
Mon, 21 Dec 2020 09:17:59 +0000 (10:17 +0100)
.github/workflows/cmake-build-ci.gen
.github/workflows/cmake-build-ci.yml

index 1ac55f9ef8bc874576d7fbcb2f498164484e51f0..99e0dd04071cfe9d27d446d5ec03af3adb85465b 100755 (executable)
@@ -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
 <?php
   } elseif ($splat_map !== false) {
     foreach (MAP as $os_is => $os_vers) {
index fcb497a56371e056d4a6d148f0a7afe47c54f45a..53eb146b7a7e0162c6cd9f1fc30789681b779e63 100644 (file)
@@ -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