NIFI-10749 Corrected Windows NPM Cache for GitHub Workflow

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #6616
This commit is contained in:
exceptionfactory 2022-11-02 11:37:21 -05:00 committed by Matthew Burgess
parent d237fd228f
commit 4569c597f2
No known key found for this signature in database
GPG Key ID: 05D3DEB8126DAD24
1 changed files with 2 additions and 6 deletions

View File

@ -261,16 +261,12 @@ jobs:
git config --global core.longpaths true
- name: Checkout Code
uses: actions/checkout@v3
- name: Get NPM Cache Directory
id: npm-cache-directory
run: |
echo "::set-output name=directory::$(npm config get cache)"
- name: Cache Node Modules
uses: actions/cache@v3
with:
path: |
${{ steps.npm-cache-directory.outputs.directory }}
**/node_modules
~\AppData\npm-cache
**\node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
- name: Set up Java 8
uses: actions/setup-java@v3