From dc097e3bb908e8cf3bbab71f4f9c2c07c4faec68 Mon Sep 17 00:00:00 2001
From: "A. Pascual" <pascualmontenegro@gmail.com>
Date: Sun, 11 Dec 2022 08:19:22 +0100
Subject: [PATCH] Update examples.md (#1026)

According with the behavior description the id of "Get npm cache directory" must be "npm-cache-dir".

I checked it in my own project.
---
 examples.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples.md b/examples.md
index fbaf32d..13741fb 100644
--- a/examples.md
+++ b/examples.md
@@ -317,7 +317,7 @@ After [deprecation](https://github.blog/changelog/2022-10-11-github-actions-depr
 ### Bash shell
 ```yaml
 - name: Get npm cache directory
-  id: npm-cache
+  id: npm-cache-dir
   shell: bash
   run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
 ```
@@ -325,7 +325,7 @@ After [deprecation](https://github.blog/changelog/2022-10-11-github-actions-depr
 ### PWSH shell
 ```yaml
 - name: Get npm cache directory
-  id: npm-cache
+  id: npm-cache-dir
   shell: pwsh
   run: echo "dir=$(npm config get cache)" >> ${env:GITHUB_OUTPUT}
 ```