[ci] Add at least some caching
/ doom (push) Successful in 12m29s Details

This commit is contained in:
Sebastian Schulze 2024-04-12 15:46:03 +02:00
parent a12aedbf1f
commit f48dae4793
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 16 additions and 1 deletions

View File

@ -19,6 +19,21 @@ jobs:
cp "$(pwd)/bootstrap/chezmoi.toml" "${HOME}/.config/chezmoi"
- run: |
chezmoi apply
- name: Restore cached Doom
id: cache-doom-restore
uses: actions/cache/restore@v4
with:
path: |
.emacs.d
key: ${{ runner.os }}-doom
- run: |
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d || (cd ~/.emacs.d && git pull)
- name: Save Primes
id: cache-doom-save
uses: actions/cache/save@v4
with:
path: |
.emacs.d
key: ${{ steps.cache-doom-restore.outputs.cache-primary-key }}
- run: |
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d
~/.emacs.d/bin/doom sync