ci: don't publish ivy build artifacts on a non-master branch
This commit is contained in:

committed by
Alex Rickabaugh

parent
cace4dea64
commit
a3eac19831
@ -59,6 +59,7 @@ buildTargetPackages "$BAZEL_TARGETS" "dist/packages-dist" "legacy" "Production"
|
||||
[[ "${CI_PULL_REQUEST-}" != "false"
|
||||
|| "${CI_REPO_OWNER-}" != "angular"
|
||||
|| "${CI_REPO_NAME-}" != "angular"
|
||||
|| "${CI_BRANCH}" != "master"
|
||||
]] && exit 0
|
||||
|
||||
buildTargetPackages "$BAZEL_TARGETS" "dist/packages-dist-ivy-aot" "aot" "Ivy AOT"
|
||||
|
Reference in New Issue
Block a user