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 ab88895 commit 8a3e16e
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 @@ -75,7 +75,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 @@ -424,7 +428,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 8a3e16e

Please sign in to comment.