diff --git a/.github/workflows/build-and-test-macos.yml b/.github/workflows/build-and-test-macos.yml index 3e0e8831f..e824f2923 100644 --- a/.github/workflows/build-and-test-macos.yml +++ b/.github/workflows/build-and-test-macos.yml @@ -79,10 +79,10 @@ jobs: - name: Install dependencies (Ubuntu) if: ${{ runner.os == 'Linux' }} run: | - apt-get update -y -q && \ - apt-get install -y -q --no-install-recommends \ - ${{ env.CC }} \ - ${{ env.CXX }} \ + sudo apt-get update -y -q && \ + sudo apt-get install -y -q --no-install-recommends \ + ${{ matrix.host.compiler.cc }} \ + ${{ matrix.host.compiler.cxx }} \ git \ xz-utils \ bzip2 \ @@ -140,7 +140,7 @@ jobs: fi else curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o ~/miniconda.sh - end + fi bash ~/miniconda.sh -b -u -p ${{ env.CONDA_PATH }} rm -rf ~/miniconda.sh