ci: gh-actions: mingw: attempt to fix path
[awesomized/libmemcached] / .github / workflows / cmake-build-ci.yml
index 9f5107c8cf3f5744a0f5eda5135c8e84dd91fd9f..70074fd68e751ee311919b9b5a87f88f304b319e 100644 (file)
@@ -627,10 +627,16 @@ jobs:
       - uses: msys2/setup-msys2@v2
         with:
           release: false
+          path-type: inherit
           install: >-
             rsync
             openssh
             mingw-w64-x86_64-toolchain
+            git
+      - name: Prepare environment (for mingw on Windows)
+        run: |
+          echo "c:\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+          echo "c:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
       - name: Install dependencies (Linux)
         if: runner.os == 'Linux'
         run: |