kitgit

tirbofish/dropbear · commit

38a78d3e704f292e930434c520a5cea7b3472f76

ci: verifying nasm on window breaks jarvis, run github actions

Unverified

tk <4tkbytes@pm.me> · 2025-09-03 04:53

view full diff

diff --git a/.github/workflows/create_executable.yaml b/.github/workflows/create_executable.yaml
index c07c5ae..2180034 100644
--- a/.github/workflows/create_executable.yaml
+++ b/.github/workflows/create_executable.yaml
@@ -52,12 +52,14 @@ jobs:
         shell: powershell
         run: |
           Write-Host "AWS_LC_SYS_PREBUILT_NASM = $env:AWS_LC_SYS_PREBUILT_NASM"
-          try {
-            where.exe nasm
-            Write-Host "System NASM found."
-          } catch {
+          $nasmPath = where.exe nasm
+          if ($LASTEXITCODE -eq 0) {
+            Write-Host "System NASM found at $nasmPath"
+          } else {
             Write-Host "System NASM not found (this is okay if aws-lc-rs will use prebuilt NASM)."
           }
+          exit 0
+
 
       - name: Install libudev-dev (Linux)
         if: matrix.os == 'ubuntu-latest'