From a84dbf710d551bf8a898500dc8b1b8b769403f85 Mon Sep 17 00:00:00 2001 From: Christoph Herzog Date: Tue, 25 Jun 2019 15:14:28 +0200 Subject: [PATCH] (ci) Fix cargo path in check_release_automation task --- azure-pipelines.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 85c1977a..dd1999c7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -83,26 +83,27 @@ jobs: - script: | export CARGO_HOME="$HOME/.cargo" curl https://sh.rustup.rs -sSf | sh -s -- -y + echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin" displayName: Install stable Rust - script: | _build/cargo-make.sh "0.20.0" "x86_64-unknown-linux-musl" displayName: Install cargo-make binary - script: | - $HOME/.cargo/bin/cargo install cargo-release + cargo install --debug cargo-release displayName: Install cargo-release binary - script: | git config --local user.name "Release Test Bot" git config --local user.email "juniper@example.com" displayName: Set up git - script: | - RELEASE_LEVEL="minor" "$HOME/.cargo/bin/cargo" make release-dry-run + RELEASE_LEVEL="minor" cargo make release-dry-run displayName: Dry run mode - script: | - RELEASE_LEVEL="minor" "$HOME/.cargo/bin/cargo" make release-local-test + RELEASE_LEVEL="minor" cargo make release-local-test displayName: Local test mode - script: | git --no-pager log -p HEAD...HEAD~20 - displayName: Echo local changes - - script: | + # NOTE: this is rolled into one task due to onerous + # "bash not found" error on Azure. cargo make workspace-ci-flow --no-workspace - displayName: Make sure build and tests still work + displayName: Echo local changes && make sure build and tests still work