Skip to content

Commit 9e5d3e4

Browse files
committed
Add workflow_dispatch with bypass_cache option to CI
Allows manually triggering a clean build from GitHub Actions UI by skipping CEF binary cache, useful for verifying the build script works end-to-end without relying on cached artifacts.
1 parent 6b9c835 commit 9e5d3e4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci-windows.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
branches: [ "github-actions-ci", "master" ]
66
pull_request:
77
branches: [ "master" ]
8+
workflow_dispatch:
9+
inputs:
10+
bypass_cache:
11+
description: "Bypass all caches for a clean run"
12+
type: boolean
13+
default: false
814

915
jobs:
1016
build-and-test:
@@ -36,6 +42,7 @@ jobs:
3642
3743
- name: Cache CEF binaries
3844
uses: actions/cache@v4
45+
if: ${{ inputs.bypass_cache != true }}
3946
with:
4047
path: build/cef_binary_*
4148
key: cef-windows64-${{ steps.cef-version.outputs.value }}

0 commit comments

Comments
 (0)