From 150950f296444a132cb31bbd98649e67098d70ec Mon Sep 17 00:00:00 2001 From: Zack Tanner <1939140+ztanner@users.noreply.github.com> Date: Tue, 3 Sep 2024 17:32:23 -0700 Subject: [PATCH] Update .github/workflows/build_reusable.yml Co-authored-by: JJ Kasper --- .github/workflows/build_reusable.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_reusable.yml b/.github/workflows/build_reusable.yml index d83f0113c5ef56..253a6521e04aac 100644 --- a/.github/workflows/build_reusable.yml +++ b/.github/workflows/build_reusable.yml @@ -21,6 +21,10 @@ on: required: false description: 'whether to skip building native modules' type: string + skipNativeInstall: + required: false + description: 'whether to skip native postinstall script' + type: string uploadAnalyzerArtifacts: required: false description: 'whether to upload analyzer artifacts' @@ -71,8 +75,8 @@ env: TURBO_TEAM: 'vercel' TURBO_REMOTE_ONLY: 'true' NEXT_TELEMETRY_DISABLED: 1 - # only skip the install-native postinstall script if we're building a native binary - NEXT_SKIP_NATIVE_POSTINSTALL: ${{ inputs.skipNativeBuild != 'yes' && 'true' || '' }} + # allow not skipping install-native postinstall script if we don't have a binary available already + NEXT_SKIP_NATIVE_POSTINSTALL: ${{ inputs.skipNativeInstall != 'yes' && 'true' || '' }} DATADOG_API_KEY: ${{ secrets.DATA_DOG_API_KEY }} NEXT_JUNIT_TEST_REPORT: 'true' DD_ENV: 'ci'