]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/windows: tidy up running find in two build steps
authorViktor Szakats <commit@vsz.me>
Mon, 18 Aug 2025 09:18:09 +0000 (11:18 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 18 Aug 2025 09:19:50 +0000 (11:19 +0200)
Cherry-picked from #18301

.github/workflows/windows.yml

index f6d029ddb035a1ecdef0afaefb86217523a68916..796534c0144ab0ca4a7e4e9be4316623f830f4ff 100644 (file)
@@ -551,7 +551,7 @@ jobs:
       - name: 'curl version'
         timeout-minutes: 1
         run: |
-          PATH=/usr/bin find . \( -name '*.exe' -o -name '*.dll' -o -name '*.a' \) -exec file '{}' \;
+          /usr/bin/find . \( -name '*.exe' -o -name '*.dll' -o -name '*.a' \) -exec file '{}' \;
           PATH="$PWD/bld/lib:$PATH"
           bld/src/curl.exe --disable --version
 
@@ -871,7 +871,7 @@ jobs:
       - name: 'curl version'
         timeout-minutes: 1
         run: |
-          PATH=/usr/bin find . \( -name '*.exe' -o -name '*.dll' -o -name '*.lib' -o -name '*.pdb' \) -exec file '{}' \;
+          /usr/bin/find . \( -name '*.exe' -o -name '*.dll' -o -name '*.lib' -o -name '*.pdb' \) -exec file '{}' \;
           if [ "${MATRIX_PLAT}" != 'uwp' ]; then  # Missing: ucrtbased.dll, VCRUNTIME140D.dll, VCRUNTIME140D_APP.dll
             PATH="$PWD/bld/lib/${MATRIX_TYPE}:$PATH"
             "bld/src/${MATRIX_TYPE}/curl.exe" --disable --version