Cache docs dependencies

This commit is contained in:
Ben C 2022-03-30 00:16:51 -07:00 committed by GitHub
parent a3cf55781c
commit 957e4df1a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: