Skip to content

Commit 59eb49d

Browse files
committed
Auto merge of #68047 - pietroalbini:fix-toolstate-again, r=Mark-Simulacrum
ci: another take at fixing toolstate Seems like the variable showed by `$(ciCheckoutPath)` on Azure Pipelines was wrong, making the toolstate script fail. This commit changes that function to return the variable previously used by the toolstate script. Other uses of the function were audited, and there should be no conflict. Failure log: https://dev.azure.com/rust-lang/rust/_build/results?buildId=17933 r? @Mark-Simulacrum
2 parents c404ce6 + cdbb60e commit 59eb49d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ci/shared.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function ciCommit {
8080

8181
function ciCheckoutPath {
8282
if isAzurePipelines; then
83-
echo "${SYSTEM_WORKFOLDER}"
83+
echo "${BUILD_SOURCESDIRECTORY}"
8484
elif isGitHubActions; then
8585
echo "${GITHUB_WORKSPACE}"
8686
else

0 commit comments

Comments
 (0)