ci: gh-actions: mingw: attempt to fix path
[m6w6/libmemcached] / .github / workflows / cmake-build-ci.gen
index 60cf68d0d01009bb26bf083b03329ee954bf9f07..657c8b0703509caf60acaaa95db57527633cd348 100755 (executable)
@@ -405,12 +405,17 @@ jobs:
       - uses: msys2/setup-msys2@v2
         with:
           release: false
+          path-type: inherit
           install: >-
             rsync
             openssh
             mingw-w64-x86_64-toolchain
             git
-<?php steps(false);?>
+      - 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: