diff --git a/child-task.sh b/child-task.sh index 7e589be8409..8a5f05f8283 100755 --- a/child-task.sh +++ b/child-task.sh @@ -3,8 +3,5 @@ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y export PATH="$HOME/.cargo/bin:$PATH" -echo HOME=$HOME -which cargo - cd something-rust -cargo run +cargo run --release diff --git a/decision-task.py b/decision-task.py index f9920c4d525..7f887ba8a0b 100644 --- a/decision-task.py +++ b/decision-task.py @@ -33,6 +33,13 @@ payload = { ./child-task.sh """ % os.environ, ], + "artifacts": { + "public/executable": { + "type": "file", + "path": "/repo/something-rust/target/release/something-rust", + "expires": taskcluster.fromNowJSON("1 month"), + }, + }, }, } # https://docs.taskcluster.net/docs/reference/workers/docker-worker/docs/features#feature-taskclusterproxy