ci: gh-actions: mingw: attempt to fix path
[m6w6/libmemcached] / .github / workflows / cmake-build-ci.gen
index 230b2f56be2548b36cd067265683d3cc485a6896..657c8b0703509caf60acaaa95db57527633cd348 100755 (executable)
@@ -405,11 +405,17 @@ jobs:
       - uses: msys2/setup-msys2@v2
         with:
           release: false
+          path-type: inherit
           install: >-
             rsync
             openssh
             mingw-w64-x86_64-toolchain
-<?php steps(false);?>
+            git
+      - name: Prepare environment (for mingw on Windows)
+        run: |
+          echo "\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+          echo "\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+  <?php steps(false);?>
 
   # linux release builds
   release: