From 717f27f899e6a4e92d72e18f812b0d2ca1492895 Mon Sep 17 00:00:00 2001 From: kfir4444 Date: Mon, 28 Aug 2023 10:25:30 +0300 Subject: [PATCH] Make sure to update, upgrate and autoremove before latex installation This is due to the Failed to fetch error, which (according to https://askubuntu.com/questions/1241009/failed-to-fetch-installation-errors is caused by outdated repository information. --- .github/workflows/gh-pages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 2fa6691ced..2db5ffae2c 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -33,6 +33,7 @@ jobs: - name: Install LaTeX run: | + sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y sudo apt install texlive-latex-base -y sudo apt-get install texlive-latex-extra -y sudo apt-get install -y dvipng