ci: gh-actions: attempt to fix mingw env
[m6w6/libmemcached] / .github / workflows / cmake-build-ci.gen
index 40c4db2db1eb98d39e0bad24e4ce9eb36f78478f..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) {
@@ -243,8 +243,8 @@ function steps_package() {
 
 function steps_notify($os_vnd) {
 ?>
-      - name: Notify Gitter (success)
-        run: bash .github/notify-gitter.sh ${{ secrets.GITTER }} ${{ success() }}
+      - name: Notify Gitter
+        run: bash .github/notify-gitter.sh ${{ secrets.GITTER }} ${{ job.status }}
 <?php
 }