diff --git a/.github/workflows/decide-jobs.yml b/.github/workflows/decide-jobs.yml index 693d2ee05cf595..0f7fa1cda4e417 100644 --- a/.github/workflows/decide-jobs.yml +++ b/.github/workflows/decide-jobs.yml @@ -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: @@ -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}"