Skip to content

Commit 9f63300

Browse files
vulkoingimroboquat
authored andcommitted
Unset CI for leeway build
1 parent 4172d04 commit 9f63300

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
6565
build-previewctl:
6666
name: Build previewctl
67+
if: ${{ needs.configuration.outputs.is_main_branch == 'true' || needs.configuration.outputs.preview_enable == 'true' }}
6768
needs: [configuration]
6869
concurrency:
6970
group: ${{ github.head_ref || github.ref }}-build-previewctl
@@ -216,7 +217,8 @@ jobs:
216217
217218
RESULT=0
218219
set -x
219-
leeway build $PR_LEEWAY_TARGET \
220+
# CI=true is a var set by GHA. Unsetting it for the build, as yarn builds treat warnings as errors if that var is set to true
221+
CI= leeway build $PR_LEEWAY_TARGET \
220222
--cache $CACHE \
221223
$TEST \
222224
-Dversion=$VERSION \

0 commit comments

Comments
 (0)