[object Object]

← back to Exo

ci: add workflow_dispatch trigger to build-app

3c5b7ea670a8bc79509f845a9d4f251a5968d2b5 · 2026-01-12 10:33:26 +0000 · Jake Hillion

Build app is the most convenient way to get a DMG for testing, but
currently it's a bit limited. You have to push to test-app every time
which is far from ideal and requires a bit too much force pushing for my
liking.

Add the workflow_dispatch trigger. This adds a button in the actions UI
to trigger a workflow for a named branch, which means you can use your
normal dev branch instead of having to push to test-app. We'll leave
that behaviour there for now too, though it may change in future.

Filter on `"${{ github.event_name }}" == "workflow_dispatch"` and set
those to alpha as well. Will verify by pushing the first version from
`main` just in case. Unfortunately we do have to merge this before we
can test it.

Test plan:
- Looking really hard.

Files touched

Diff

commit 3c5b7ea670a8bc79509f845a9d4f251a5968d2b5
Author: Jake Hillion <jake@hillion.co.uk>
Date:   Mon Jan 12 10:33:26 2026 +0000

    ci: add workflow_dispatch trigger to build-app
    
    Build app is the most convenient way to get a DMG for testing, but
    currently it's a bit limited. You have to push to test-app every time
    which is far from ideal and requires a bit too much force pushing for my
    liking.
    
    Add the workflow_dispatch trigger. This adds a button in the actions UI
    to trigger a workflow for a named branch, which means you can use your
    normal dev branch instead of having to push to test-app. We'll leave
    that behaviour there for now too, though it may change in future.
    
    Filter on `"${{ github.event_name }}" == "workflow_dispatch"` and set
    those to alpha as well. Will verify by pushing the first version from
    `main` just in case. Unfortunately we do have to merge this before we
    can test it.
    
    Test plan:
    - Looking really hard.
---
 .github/workflows/build-app.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml
index c011e979..44e9c77e 100644
--- a/.github/workflows/build-app.yml
+++ b/.github/workflows/build-app.yml
@@ -1,6 +1,7 @@
 name: Build EXO macOS DMG
 
 on:
+  workflow_dispatch:
   push:
     tags:
       - "v*"
@@ -35,7 +36,7 @@ jobs:
 
       - name: Derive release version from tag
         run: |
-          if [[ "$GITHUB_REF_NAME" == "test-app" ]]; then
+          if [[ "$GITHUB_REF_NAME" == "test-app" || "${{ github.event_name }}" == "workflow_dispatch" ]]; then
             VERSION="0.0.0-alpha.0"
             echo "IS_ALPHA=true" >> $GITHUB_ENV
           else

← b74a6105 Add a basic documentation to the api interface (#1122)  ·  back to Exo  ·  dashboard: show disk usage for completed models 8d7b6789 →