mirror of https://github.com/apache/nifi.git
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:
parent
d237fd228f
commit
4569c597f2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue