ci: export channel info in buildkite pre-command (#31162)

This commit is contained in:
Yihau Chen 2023-04-13 11:32:57 +08:00 committed by GitHub
parent 78d061a3d3
commit a5bd85cf75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,14 @@ export PS4="++"
# Restore target/ from the previous CI build on this machine
#
eval "$(ci/channel-info.sh)"
export EDGE_CHANNEL
export BETA_CHANNEL
export BETA_CHANNEL_LATEST_TAG
export STABLE_CHANNEL
export STABLE_CHANNEL_LATEST_TAG
export CHANNEL
export CHANNEL_LATEST_TAG
eval "$(ci/platform-tools-info.sh)"
source "ci/rust-version.sh"
HOST_RUST_VERSION="$rust_stable"