ci: gh-actions: mingw: attempt to fix path
[m6w6/libmemcached] / .github / workflows / cmake-build-ci.yml
index f3e4b78860fbb3450aac37f6a189d2a5c2c70975..c3d78847c6e0df37b556673701d00ede72e89f42 100644 (file)
@@ -627,12 +627,17 @@ jobs:
       - uses: msys2/setup-msys2@v2
         with:
           release: false
+          path-type: inherit
           install: >-
             rsync
             openssh
             mingw-w64-x86_64-toolchain
             git
-      - name: Install dependencies (Linux)
+      - 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
+        - name: Install dependencies (Linux)
         if: runner.os == 'Linux'
         run: |
           sudo apt-get install -my \