Skip to content

Commit ea7b0bf

Browse files
committed
Update caching condition in Build workflow to include non-push events
1 parent bbde29c commit ea7b0bf

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/Build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ jobs:
229229
# ------------------------------------------------------------------------------------------------------
230230
- name: Cache static site content - Windows
231231
id: cache_windows
232-
if: runner.os == 'Windows' || github.event_name == 'workflow_dispatch'
232+
if: runner.os == 'Windows' || github.event_name == 'workflow_dispatch' || github.event_name != 'push'
233233
uses: actions/cache@v4
234234
with:
235235
path:
@@ -248,8 +248,6 @@ jobs:
248248
./**
249249
key:
250250
cache-site-linux-${{github.run_number}}
251-
enableCrossOsArchive:
252-
true
253251

254252

255253
- name: Cache static site content - macOS

0 commit comments

Comments
 (0)