Skip to content

Commit

Permalink
ci: another take at fixing toolstate
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pietroalbini committed Jan 9, 2020
1 parent adc6572 commit cdbb60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ci/shared.sh
Expand Up @@ -80,7 +80,7 @@ function ciCommit {

function ciCheckoutPath {
if isAzurePipelines; then
echo "${SYSTEM_WORKFOLDER}"
echo "${BUILD_SOURCESDIRECTORY}"
elif isGitHubActions; then
echo "${GITHUB_WORKSPACE}"
else
Expand Down

0 comments on commit cdbb60e

Please sign in to comment.