]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/windows: fix `find` in old-mingw-w64 `curl -V` step
authorViktor Szakats <commit@vsz.me>
Sun, 29 Sep 2024 20:35:45 +0000 (22:35 +0200)
committerViktor Szakats <commit@vsz.me>
Sun, 29 Sep 2024 20:35:48 +0000 (22:35 +0200)
By default it runs the Windows `find` command and fails.
Tweak the `PATH` to find the MSYS shell implementation.

.github/workflows/windows.yml

index 2a959868dae0068d5fb60ab688555395c5c36478..046e822c4fea48722bc7e53242875d3912e9c02c 100644 (file)
@@ -353,7 +353,7 @@ jobs:
       - name: 'curl version'
         timeout-minutes: 1
         run: |
-          find . -name '*.exe' -o -name '*.dll'
+          PATH=/usr/bin find . -name '*.exe' -o -name '*.dll'
           PATH="$PWD/bld/lib:$PATH"
           bld/src/curl.exe --disable --version