mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Cache docs dependencies
This commit is contained in:
parent
a3cf55781c
commit
957e4df1a7
10
.github/workflows/docs_build.yml
vendored
10
.github/workflows/docs_build.yml
vendored
@ -24,6 +24,7 @@ on:
|
||||
env:
|
||||
OUT_DIR: ${{ github.events.inputs.relative_path }}
|
||||
BASE_URL: https://nh.outerwildsmods.com/
|
||||
PIPENV_VENV_IN_PROJECT: enabled
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -38,6 +39,15 @@ jobs:
|
||||
run: |
|
||||
echo "OUT_DIR=/" >> $GITHUB_ENV
|
||||
|
||||
- name: Cache Dependencies
|
||||
uses: actions/cache@v2
|
||||
id: cache-dependencies
|
||||
with:
|
||||
path: ./.venv
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/Pipfile.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pipenv
|
||||
|
||||
- name: Install dependecies
|
||||
uses: VaultVulp/action-pipenv@v2.0.1
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user