[CI] Add conditions for L3 (tests after merging) and L4 (tests for nightly). (#1514)

Signed-off-by: Alicia <115451386+congw729@users.noreply.github.com>
This commit is contained in:
Alicia authored and GitHub committed 2026-03-24 16:58:22 +08:00
1 parent c39225724d
commit f8777d85bc
1 file changed
+2 -2
+2 -2
View File
@@ -23,7 +23,7 @@ steps:
- label: "Upload Merge Pipeline"
depends_on: image-build
key: upload-merge-pipeline
if: build.branch == "main"
if: build.branch == "main" && build.env("NIGHTLY") != "1"
commands:
- buildkite-agent pipeline upload .buildkite/test-merge.yml
agents:
@@ -33,7 +33,7 @@ steps:
- label: "Upload Nightly Pipeline"
depends_on: image-build
key: upload-nightly-pipeline
if: build.env("NIGHTLY") == "1"
if: build.branch == "main" && build.env("NIGHTLY") == "1"
commands:
- buildkite-agent pipeline upload .buildkite/test-nightly.yml
agents: