This is an automated email from the ASF dual-hosted git repository.
mattyb149 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 4569c597f2 NIFI-10749 Corrected Windows NPM Cache for GitHub Workflow
4569c597f2 is described below
commit 4569c597f26bb77fa7fc341455c2a0dde86b13b3
Author: exceptionfactory <[email protected]>
AuthorDate: Wed Nov 2 11:37:21 2022 -0500
NIFI-10749 Corrected Windows NPM Cache for GitHub Workflow
Signed-off-by: Matthew Burgess <[email protected]>
This closes #6616
---
.github/workflows/ci-workflow.yml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/ci-workflow.yml
b/.github/workflows/ci-workflow.yml
index bbdf6f5bee..4f529164af 100644
--- a/.github/workflows/ci-workflow.yml
+++ b/.github/workflows/ci-workflow.yml
@@ -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