Skip to content

Commit 7a55ffe

Browse files
committed
Fixes Windows release check for commit SHA when using non-default path
1 parent 9086477 commit 7a55ffe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

windows-release/checkout.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ steps:
3232
throw "Expected git commit '$(SourceCommit)' didn't match tagged commit '$checkout_commit'"
3333
}
3434
displayName: "Verify CPython commit matches tag"
35+
${{ if and(parameters.Path, ne(parameters.Path, '.')) }}:
36+
workingDirectory: ${{ parameters.Path }}
3537
condition: and(succeeded(), variables['SourceCommit'])

0 commit comments

Comments
 (0)