mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 06:52:13 +00:00
ci: use export command to export envs instead of env config item
Config item env is used as a Matrix Expansion key, so these envs will export to build jobs individually. Signed-off-by: bin liu <bin@hyper.sh>
This commit is contained in:
parent
9e5a4b8b80
commit
e3a0f9b30e
@ -21,13 +21,11 @@ cache:
|
||||
directories:
|
||||
- src/agent/target
|
||||
|
||||
env:
|
||||
- target_branch=$TRAVIS_BRANCH
|
||||
- RUST_BACKTRACE=1
|
||||
|
||||
before_install:
|
||||
- git remote set-branches --add origin "${TRAVIS_BRANCH}"
|
||||
- git fetch
|
||||
- export RUST_BACKTRACE=1
|
||||
- export target_branch=$TRAVIS_BRANCH
|
||||
- "ci/setup.sh"
|
||||
|
||||
# we use install to run check agent
|
||||
|
Loading…
Reference in New Issue
Block a user