From ade59b804f7deae660ac8cd6f0135d2e6a8d7bbf Mon Sep 17 00:00:00 2001 From: Deepak Dahiya <59823596+t-dedah@users.noreply.github.com> Date: Tue, 6 Dec 2022 15:10:45 +0530 Subject: [PATCH] Update examples.md --- examples.md | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/examples.md b/examples.md index 21474ae..fbaf32d 100644 --- a/examples.md +++ b/examples.md @@ -313,21 +313,6 @@ After [deprecation](https://github.blog/changelog/2022-10-11-github-actions-depr >Note: It is not recommended to cache `node_modules`, as it can break across Node versions and won't work with `npm ci` -### **Get npm cache directory using default shells** -### Linux or Mac -```yaml -- name: Get npm cache directory - id: npm-cache - run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} -``` - -### Windows -```yaml -- name: Get npm cache directory - id: npm-cache - run: echo "dir=$(npm config get cache)" >> ${env:GITHUB_OUTPUT} -``` - ### **Get npm cache directory using same shell** ### Bash shell ```yaml