diff --git a/.github/workflows/medInria4-windows.yml b/.github/workflows/medInria4-windows.yml index 4750b0079..e1951ab88 100644 --- a/.github/workflows/medInria4-windows.yml +++ b/.github/workflows/medInria4-windows.yml @@ -47,8 +47,8 @@ jobs: - name: Find binary file run: | - $FILE = Get-ChildItem -Path "${{github.workspace}\b" -Filter "*.exe" -Recurse | Select-Object -First 1 - if (-Not $FILE){ + $FILE = Get-ChildItem -Path "${{github.workspace}}\b" -Filter "*.exe" -Recurse | Select-Object -First 1 + if (-Not $FILE) { Write-Host "No .exe file found in build directory." exit 1 }