Unverified Commit dc097e3b authored by A. Pascual's avatar A. Pascual Committed by GitHub
Browse files

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.
parent fb86cbf3
Loading
Loading
Loading
Loading
+2 −2
Changes for examples.md: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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}
```