diff --git a/.github/workflows/install_by_pak.yaml b/.github/workflows/install_by_pak.yaml index 394d4e82..7551235b 100644 --- a/.github/workflows/install_by_pak.yaml +++ b/.github/workflows/install_by_pak.yaml @@ -31,7 +31,8 @@ jobs: - uses: r-lib/actions/setup-pandoc@v2 - name: Install libglpk40 - run: apt-get install -y libglpk40 + if: ${{ matrix.config.os == 'ubuntu-latest' }} + run: sudo apt-get install -y libglpk40 - uses: r-lib/actions/setup-r@v2 with: