diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e57bf5..d351704 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,11 @@ jobs: mkdir build cd build cmake .. -G"Ninja" -DBUILD_SHARED_LIBS=ON -DOQS_BUILD_ONLY_LIB=ON - ninja install + if [ "${{ matrix.os }}" != "windows-latest" ]; then + sudo ninja install + else + ninja install + fi working-directory: liboqs - name: Set up JDK ${{ matrix.java-version }}