Added a cache step.
This commit is contained in:
parent
5aad6b8a6b
commit
b803008420
1 changed files with 10 additions and 1 deletions
11
.github/workflows/docs.yml
vendored
11
.github/workflows/docs.yml
vendored
|
@ -7,6 +7,7 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
- 'master'
|
- 'master'
|
||||||
|
- 'test-cache'
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 10 * * 1'
|
- cron: '0 10 * * 1'
|
||||||
|
|
||||||
|
@ -19,7 +20,15 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: 40ants/setup-lisp@v1
|
- name: Cache Roswell Setup
|
||||||
|
uses: actions/cache@v2
|
||||||
|
env:
|
||||||
|
cache-name: cache-roswell
|
||||||
|
with:
|
||||||
|
path: ~/.roswell
|
||||||
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('qlfile.lock') }}
|
||||||
|
with:
|
||||||
|
- uses: 40ants/setup-lisp@test-cache
|
||||||
- uses: 40ants/build-docs@v1
|
- uses: 40ants/build-docs@v1
|
||||||
with:
|
with:
|
||||||
asdf-system: docs
|
asdf-system: docs
|
||||||
|
|
Loading…
Reference in a new issue