Commit bdcbc08e for whisper.cpp

commit bdcbc08e4ba295d71852df983998414d42d8e78f
Author: Daniel Bevenius <daniel.bevenius@gmail.com>
Date:   Tue Nov 24 10:03:03 2026 +0100

    ci : split deploy wasm job into build and deploy (#4205)

    This commit splits the deploy-examples-wasm workflow into two separate
    jobs, one that build and one that deploys.

    The motivation is that there could be a race condition when the github
    artifact API queries for the deploy-pages and the upload of them.
    Splitting this into separate jobs and adding a dependency (needs) will
    hopefull work around this.

    Refs: https://github.com/ggml-org/whisper.cpp/actions/runs/45354153952

diff --git a/.github/workflows/deploy-examples-wasm.yml b/.github/workflows/deploy-examples-wasm.yml
index 77810d7a..c53d9091 100644
--- a/.github/workflows/deploy-examples-wasm.yml
+++ b/.github/workflows/deploy-examples-wasm.yml
@@ -15,10 +15,7 @@ concurrency:
   cancel-in-progress: false

 jobs:
-  deploy-wasm-github-pages:
-    environment:
-      name: github-pages
-      url: ${{ steps.deployment.outputs.page_url }}
+  build:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -31,7 +28,6 @@ jobs:
         uses: emscripten-core/setup-emsdk@6ab9eb1bda2574c4ddb79809fc9247783eaf9021 # v14

       - name: Build WASM Examples
-        # Enable for real build later in whisper.cpp
         run: |
           mkdir -p build-em && cd build-em
           emcmake cmake .. -DCMAKE_BUILD_TYPE=Release
@@ -92,6 +88,13 @@ jobs:
         with:
           path: ./staging

+  deploy:
+    needs: build
+    environment:
+      name: github-pages
+      url: ${{ steps.deployment.outputs.page_url }}
+    runs-on: ubuntu-latest
+    steps:
       - name: Deploy to GitHub Pages
         id: deployment
         uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5