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