Skip to content

Commit

Permalink
Revise glob pattern to exclude html from UI/js or UI/.node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ylavoie committed Nov 5, 2023
1 parent 6e8d1bb commit a512834
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@ jobs:
uses: actions/cache@v3
with:
path: UI/js
key: dojo-${{ hashFiles('UI/js-src/**', 'UI/src/**', 'UI/css/**','UI/**/*.html','doc/sources/**') }}
key: dojo-${{ hashFiles('UI/js-src/**',
'UI/src/**',
'UI/css/**',
'UI/!(js|.node_modules)/**/*.html',
'doc/sources/**') }}

- name: Build Dojo
run: |
Expand Down Expand Up @@ -426,7 +430,11 @@ jobs:
uses: actions/cache@v3
with:
path: UI/js
key: dojo-${{ hashFiles('UI/js-src/**', 'UI/src/**', 'UI/css/**','UI/**/*.html','doc/sources/**') }}
key: dojo-${{ hashFiles('UI/js-src/**',
'UI/src/**',
'UI/css/**',
'UI/!(js|.node_modules)/**/*.html',
'doc/sources/**') }}

# This will start a hub and JOB_COUNT matrix.
- name: Starting hub with ${{ matrix.BROWSER }}
Expand Down

0 comments on commit a512834

Please sign in to comment.