Skip to content

Commit 3d093e2

Browse files
authored
Add customization script execution in build loop
added my normal customizations and food finder from https://www.loopandlearn.org/custom-code-browser-build/ and loopandlearn/lnl-scripts#82 (comment)
1 parent 1cbe0ad commit 3d093e2

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/build_loop.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,20 @@ jobs:
284284
# and make sure to specify the submodule by setting "--directory=(submodule_name)".
285285
# Several patches may be added per submodule.
286286
# Adding comments (#) may be useful to easily tell the individual patches apart.
287-
287+
# The lines below add the customizations listed using the CustomizationSelect script
288+
# The "\" is a continuation character
289+
# the line following a "\" should not be blank
290+
/bin/bash -c "$(curl -fsSL \
291+
https://raw.githubusercontent.com/loopandlearn/lnl-scripts/main/CustomizationSelect.sh)" \
292+
dexcom_upload_readings \
293+
high_carb_limit \
294+
now_line \
295+
watch_title \
296+
meal_days
297+
export SCRIPT_BRANCH=prelim_ai_food && export PATCH_BRANCH=prelim_ai_food && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/loopandlearn/lnl-scripts/$SCRIPT_BRANCH/CustomizationSelect.sh)" food_search
298+
299+
# the final customization listed above CANNOT have a continuation character
300+
# more customizations can be pasted after this line
288301
# Patch Fastlane Match to not print tables
289302
- name: Patch Match Tables
290303
run: |
@@ -334,4 +347,4 @@ jobs:
334347
name: build-artifacts
335348
path: |
336349
artifacts
337-
buildlog
350+
buildlog

0 commit comments

Comments
 (0)