Skip to content

Commit bbde29c

Browse files
committed
Add support for manual workflow dispatch in caching for all OS environments
1 parent 2943f18 commit bbde29c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/Build.yml

Lines changed: 3 additions & 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'
232+
if: runner.os == 'Windows' || github.event_name == 'workflow_dispatch'
233233
uses: actions/cache@v4
234234
with:
235235
path:
@@ -241,7 +241,7 @@ jobs:
241241

242242
- name: Cache static site content - Linux
243243
id: cache_linux
244-
if: runner.os == 'Linux'
244+
if: runner.os == 'Linux' || github.event_name == 'workflow_dispatch'
245245
uses: actions/cache@v4
246246
with:
247247
path:
@@ -254,7 +254,7 @@ jobs:
254254

255255
- name: Cache static site content - macOS
256256
id: cache_macos
257-
if: runner.os == 'macOS'
257+
if: runner.os == 'macOS' || github.event_name == 'workflow_dispatch'
258258
uses: actions/cache@v4
259259
with:
260260
path:

0 commit comments

Comments
 (0)