Skip to content

Commit

Permalink
cache
Browse files Browse the repository at this point in the history
  • Loading branch information
isidroas committed Dec 10, 2024
1 parent 52674bd commit 115544a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
id: cache-id
with:
path: ${{ runner.temp }}/cache-directory-example
key: ${{ runner.os }}-cache-hello-world-key-v1.0
- name: Install dependencies
# TODO: find a quicker method. Currently the download is fast but the installation is slow
# In total, it takes 5min
run: |
sudo apt install texlive-full
uses: airvzxf/[email protected]
with:
script: 'sudo apt install texlive-full'
is_cached: ${{ steps.cache-id.outputs.cache-hit }}
cache: ${{ runner.temp }}/cache-directory-example
snapshot: '/'
exclude: '/boot /data /dev /mnt /proc /run /sys'
- name: Check out repository code
uses: actions/checkout@v4
- name: Install fonts
Expand Down

0 comments on commit 115544a

Please sign in to comment.