From f06591916d84ddcba3d0af6023e81dd588064cc9 Mon Sep 17 00:00:00 2001 From: Franziska Wegner <57569315+franziska-wegner@users.noreply.github.com> Date: Tue, 5 Dec 2023 07:52:28 -0800 Subject: [PATCH] Update cmake-multi-platform.yml --- .github/workflows/cmake-multi-platform.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 66551594..ebc4fe45 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -99,7 +99,21 @@ jobs: # echo "${{github.workspace}}/qt/Qt/${{ env.QT_VERSION }}/${{ env.MINGW_PATH }}/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append # refreshenv + - name: Install + run: | + if [ "$RUNNER_OS" == "Linux" ]; then + sudo apt update --fix-missing + sudo apt upgrade + sudo apt update + sudo apt-get install texlive texlive-latex-recommended texlive-extra-utils texlive-latex-extra texlive-font-utils + else + echo "$RUNNER_OS not supported" + exit 1 + fi + shell: bash + - name: Install LaTeX (Linux) + if: matrix.os == 'ubuntu-latest' run: | sudo apt update --fix-missing sudo apt upgrade @@ -107,6 +121,7 @@ jobs: sudo apt-get install texlive texlive-latex-recommended texlive-extra-utils texlive-latex-extra texlive-font-utils # if: startsWith(matrix.config.os,'ubuntu-') # if: ${{ startsWith(runner.os, 'ubuntu-') }} + shell: bash - name: Install LaTeX (MacOS) run: |