From a5abf1c5958d9366bb16510a8939fc5838041b37 Mon Sep 17 00:00:00 2001 From: Heinz-Alexander Fuetterer Date: Fri, 26 Jul 2024 17:37:33 +0200 Subject: [PATCH 1/2] used alternative installation for pandoc and latex --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 921c235d4c..cc42b828b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,12 +53,29 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: pip - - name: Install Dependencies - run: | - sudo apt update - sudo apt install --yes pandoc texlive-xetex librsvg2-bin - python -m pip install --upgrade pip - pandoc --version + + - run: sudo apt-get install --yes librsvg2-bin + + - uses: r-lib/actions/setup-pandoc@6012817847b5f064d0882d67a7b5e2ca6639afb2 # v2.9.0 + - run: pandoc --version + + - uses: teatimeguest/setup-texlive-action@v3 + with: + packages: | + collection-latex + collection-latexextra + collection-latexrecommended + collection-xetex + + - run: xelatex --version + + # - name: Install Dependencies + # run: | + # sudo apt update + # sudo apt install --yes pandoc texlive-xetex librsvg2-bin + # python -m pip install --upgrade pip + # pandoc --version + - name: Install rdmo[mysql] and start mysql run: | python -m pip install --editable .[ci,mysql] From e0aa50b3998ff6cd995855eb80a6482c8ed51085 Mon Sep 17 00:00:00 2001 From: Heinz-Alexander Fuetterer Date: Mon, 29 Jul 2024 14:51:10 +0200 Subject: [PATCH 2/2] s --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc42b828b2..1e1627cf32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,10 @@ jobs: python-version: ${{ matrix.python-version }} cache: pip - - run: sudo apt-get install --yes librsvg2-bin + - uses: awalsh128/cache-apt-pkgs-action@a6c3917cc929dd0345bfb2d3feaf9101823370ad # v1.4.2 + with: + packages: librsvg2-bin pandoc + - run: pandoc --version - uses: r-lib/actions/setup-pandoc@6012817847b5f064d0882d67a7b5e2ca6639afb2 # v2.9.0 - run: pandoc --version