From ee2a3b7505ef81d2bfc1322f7af52e6ad7cdaa54 Mon Sep 17 00:00:00 2001 From: arcataroger Date: Mon, 20 Nov 2023 13:07:26 -0800 Subject: [PATCH] Try with a different cache path --- .github/workflows/regenerate-toc.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/regenerate-toc.yml b/.github/workflows/regenerate-toc.yml index 4da4a2a..ca9adef 100644 --- a/.github/workflows/regenerate-toc.yml +++ b/.github/workflows/regenerate-toc.yml @@ -16,8 +16,8 @@ jobs: - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: '20' - cache: 'npm' + node-version: 'lts' + cache-dependency-path: 'README.md' - run: npm i -g doctoc --no-package-lock # Install DocToc https://www.npmjs.com/package/doctoc - run: doctoc README.md # Process the file and regenerate its ToC