]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Replace ilammy/setup-nasm with nasm install from choco
authorDmitry Misharov <dmitry@openssl.org>
Tue, 22 Apr 2025 07:52:14 +0000 (09:52 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 22 Apr 2025 13:05:21 +0000 (15:05 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27462)

(cherry picked from commit 1ad186986c8c90dfc58666531c0554641e022dbb)

.github/workflows/windows.yml

index 9d9e8ea47f08ec602170ba0ca4b15a2f34610733..7a53e54d2809c7076eff349c1505770eb11c56c2 100644 (file)
@@ -31,9 +31,10 @@ jobs:
     - uses: ilammy/msvc-dev-cmd@v1
       with:
         arch: ${{ matrix.platform.arch }}
-    - uses: ilammy/setup-nasm@v1
-      with:
-        platform: ${{ matrix.platform.arch }}
+    - name: install nasm
+      run: |
+        choco install nasm ${{ matrix.platform.arch == 'win32' && '--x86' || '' }}
+        "C:\Program Files${{ matrix.platform.arch == 'win32' && ' (x86)' || '' }}\NASM" | Out-File -FilePath "$env:GITHUB_PATH" -Append
     - uses: shogo82148/actions-setup-perl@v1
     - name: prepare the build directory
       run: mkdir _build