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

index 99e0dd04071cfe9d27d446d5ec03af3adb85465b..e4bc67853d3691068c501e74fd6a9714ae8d7166 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 53eb146b7a7e0162c6cd9f1fc30789681b779e63..5b2c8e8a724d8dcd4bc2ef3dc77b9f4dfcfd41bb 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