Skip to content

Commit

Permalink
Updated GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
leifeld committed Aug 19, 2024
1 parent 06eb539 commit 73c4de9
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/build-and-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if: steps.system-deps-cache.outputs.cache-hit != 'true'
run: |
sudo apt-get update
sudo apt-get install -y texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-bibtex-extra pandoc pandoc-citeproc
sudo apt-get install -y texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-bibtex-extra
install-r-dependencies:
runs-on: ${{ matrix.config.os }}
Expand Down Expand Up @@ -94,9 +94,27 @@ jobs:
/usr/local/texlive/texmf-var
/usr/local/texlive/tlpkg/texlive.tlpdb
key: ${{ runner.os }}-system-deps-v1
- name: Check Pandoc Installation

- name: Restore pandoc
uses: actions/cache@v3
id: pandoc
with:
path: pandoc-2.19.2-1
key: pandoc-2.19.2-1
- name: Download pandoc-2.19.2-1-amd64.deb
if: steps.pandoc.outputs.cache-hit != 'true'
run: |
pandoc --version
mkdir pandoc-2.19.2-1
cd pandoc-2.19.2-1
wget https://github.com/jgm/pandoc/releases/download/2.19.2/pandoc-2.19.2-1-amd64.deb
- name: Install pandoc
run: |
cd pandoc-2.19.2-1
sudo dpkg -i pandoc-2.19.2-1-amd64.deb
- name: Check pandoc version
run: pandoc --version

- name: Setup Gradle
uses: gradle/[email protected]
- name: Execute Gradle build for bibliography
Expand Down

0 comments on commit 73c4de9

Please sign in to comment.