Skip to content

Commit

Permalink
fix: don't set BUILD_TARGETS by default
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Feb 24, 2025
1 parent d17173d commit 252838c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/decide-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Decide jobs

env:
# Allowlist of targets to build, drop targets you don't want to build
BUILD_TARGETS: ^(arm-linux|linux64|linux64_fuzz|linux64_multiprocess|linux64_nowallet|linux64_sqlite|linux64_tsan|linux64_ubsan|mac|win64)$
# BUILD_TARGETS: ^(arm-linux|linux64|linux64_fuzz|linux64_multiprocess|linux64_nowallet|linux64_sqlite|linux64_tsan|linux64_ubsan|mac|win64)$

on:
workflow_call:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
)
for job in "${JOBS[@]}"
do
if [[ ${job} =~ ${BUILD_TARGETS} ]]; then
if [[ -z "${BUILD_TARGETS}" || "${job}" =~ "${BUILD_TARGETS}" ]]; then
echo "run-${job}=true" >> "${GITHUB_OUTPUT}"
else
echo "run-${job}=false" >> "${GITHUB_OUTPUT}"
Expand Down

0 comments on commit 252838c

Please sign in to comment.