Skip to content

Commit cdbb60e

Browse files
committed
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.
1 parent adc6572 commit cdbb60e

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)