Skip to content

Commit

Permalink
Conditionally update external sdl/imgui
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX authored Jan 1, 2025
1 parent 2bc4891 commit 7ba7164
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/branch_sync.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: branch sync
on:
workflow_dispatch:
inputs:
UPDATE_IMGUI:
type: string
UPDATE_SDL:
type: string
schedule:
- cron: '30 2 * * *'
jobs:
Expand All @@ -22,7 +27,7 @@ jobs:
run: |
set -x
dirs=( "mcpelauncher-ng" "mcpelauncher-qt6" )
common_submodules=( "logger" "base64" "file-util" "properties-parser" "simple-ipc" "daemon-utils" "msa-daemon-client" "eglut" "linux-gamepad" "game-window" "file-picker" "cll-telemetry" "minecraft-imported-symbols" "mcpelauncher-common" "mcpelauncher-core" "mcpelauncher-client" "arg-parser" "mcpelauncher-linux-bin" "epoll-shim" "osx-elf-header" "mcpelauncher-mac-bin" "android-support-headers" "libc-shim" "mcpelauncher-linker" "libjnivm" "sdl3" "imgui" )
common_submodules=( "logger" "base64" "file-util" "properties-parser" "simple-ipc" "daemon-utils" "msa-daemon-client" "eglut" "linux-gamepad" "game-window" "file-picker" "cll-telemetry" "minecraft-imported-symbols" "mcpelauncher-common" "mcpelauncher-core" "mcpelauncher-client" "arg-parser" "mcpelauncher-linux-bin" "epoll-shim" "osx-elf-header" "mcpelauncher-mac-bin" "android-support-headers" "libc-shim" "mcpelauncher-linker" "libjnivm" ${{ (inputs.UPDATE_SDL || vars.UPDATE_SDL) == '1' && '"sdl3"' || '' }} ${{ (inputs.UPDATE_IMGUI || vars.UPDATE_IMGUI) == '1' && '"imgui"' || '' }})
# ui_submodules=("mcpelauncher-webview" "mcpelauncher-errorwindow")
for dir in "${dirs[@]}"
do
Expand Down

0 comments on commit 7ba7164

Please sign in to comment.