Skip to content

Commit

Permalink
#12 Tried to cache docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
vityaman committed Mar 1, 2024
1 parent 14403cd commit 104d895
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
- name: Setup Pandoc
uses: r-lib/actions/setup-pandoc@v2

- name: Cache Docker images
uses: ScribeMD/docker-cache@0.3.7
with:
key: docker-${{ runner.os }}-${{ hashFiles('.github/workflows/pandoc.yml') }}

- name: Convert .md to .tex
run: |
pandoc \
Expand All @@ -29,10 +34,13 @@ jobs:
work_in_root_file_dir: true
root_file: |
./doc/technical-task.tex
# This is included for Docker images caching
docker_image: ghcr.io/xu-cheng/texlive-full:20230801

- name: Upload technical-task-pdf artifact
uses: actions/upload-artifact@v4
with:
name: technical-task-pdf
path: doc/technical-task.pdf
overwrite: true
if-no-files-found: error

0 comments on commit 104d895

Please sign in to comment.