From ed2417bac2b10f86aea93ba2e4dccc579c2c1f1a Mon Sep 17 00:00:00 2001 From: L3D Date: Fri, 7 Feb 2020 00:25:44 +0100 Subject: [PATCH 1/2] add lfs cache ? --- .github/workflows/lektor-check.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/lektor-check.yml b/.github/workflows/lektor-check.yml index 993ea47..92a6f47 100644 --- a/.github/workflows/lektor-check.yml +++ b/.github/workflows/lektor-check.yml @@ -18,6 +18,16 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + - name: Cache lfs data + uses: actions/cache@v1 + with: + path: ~/.git + key: lfs + restore-keys: lfs + - name: install and pull lfs + run: | + apt-get install git-lfs + git lfs pull - name: check with lektor run: | pip install lektor From c4c82d693e6c057bdbc0b78abb76dd8450254bf8 Mon Sep 17 00:00:00 2001 From: L3D Date: Fri, 7 Feb 2020 00:26:47 +0100 Subject: [PATCH 2/2] Update lektor-check.yml --- .github/workflows/lektor-check.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/lektor-check.yml b/.github/workflows/lektor-check.yml index 92a6f47..c540118 100644 --- a/.github/workflows/lektor-check.yml +++ b/.github/workflows/lektor-check.yml @@ -23,10 +23,9 @@ jobs: with: path: ~/.git key: lfs - restore-keys: lfs - name: install and pull lfs run: | - apt-get install git-lfs + sudo apt-get install git-lfs git lfs pull - name: check with lektor run: |