Set cargo target dir.
This is to avoid writing to the target dir in the repo folder.
This commit is contained in:
parent
4447f1ed4a
commit
134444b2c3
@ -109,6 +109,9 @@ spec:
|
||||
workingDir: "$(workspaces.source.path)"
|
||||
command: [cargo, test, --no-fail-fast]
|
||||
args: []
|
||||
env:
|
||||
- name: CARGO_TARGET_DIR
|
||||
value: /target
|
||||
workspaces:
|
||||
- name: source
|
||||
workspace: git-source
|
||||
|
Loading…
Reference in New Issue
Block a user