From 79d6365ec0fbd53062d05804475123c8d5bfe734 Mon Sep 17 00:00:00 2001 From: RadKesvat <134321679+radkesvat@users.noreply.github.com> Date: Thu, 28 Mar 2024 17:50:42 +0430 Subject: [PATCH] Update cmake-multi-platform.yml --- .github/workflows/cmake-multi-platform.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index a5ab2309..4846beeb 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -55,21 +55,12 @@ jobs: echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" - - name: install packages - if: matrix.os == 'windows-latest' + - name: setup nasm windows + if: runner.os == 'Windows' run: | - if [ "$RUNNER_OS" == "Windows" ]; then choco install nasm - fi - shell: bash - - - name: set path - if: matrix.os == 'windows-latest' - run: | - if ( $RUNNER_OS -eq "Windows" ){ - echo "C:\Program Files\NASM" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - } - + echo "C:\Program Files\NASM" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + - name: Configure CMake