aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/website.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
index fa322fb..1b0ed84 100644
--- a/.github/workflows/website.yml
+++ b/.github/workflows/website.yml
@@ -31,10 +31,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
+
+ - uses: actions/cache/restore@v3
+ id: restore-cache
+ with:
+ # should use 'pip3 cache dir' to discover this path
+ path: ~/.cache/pip
+ key: website-pip-${{ github.run_number }}
+ restore-keys: website-pip-
+
- name: Install package
run: |
sudo apt-get -y install python3-pip ninja-build libjson-glib-dev
pip install hotdoc chevron strictyaml
+
+ - uses: actions/cache/save@v3
+ with:
+ # should use 'pip3 cache dir' to discover this path
+ path: ~/.cache/pip
+ key: website-pip-${{ github.run_number }}
+
- name: Setup SSH Keys and known_hosts
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock