mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:49:08 +08:00
[ci] create parent-hashes in ArtifactStagingDirectory (#23468)
instead of WorkingRoot - this should mean that we don't get permission errors in CI Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
This commit is contained in:
parent
198b84f427
commit
5a8a1dfff8
@ -162,7 +162,7 @@ if (($BuildReason -eq 'PullRequest') -and -not $NoParentHashes)
|
||||
}
|
||||
|
||||
Write-Host "Determining parent hashes using HEAD~1"
|
||||
$parentHashesFile = Join-Path $WorkingRoot 'parent-hashes.json'
|
||||
$parentHashesFile = Join-Path $ArtifactStagingDirectory 'parent-hashes.json'
|
||||
$parentHashes = @("--parent-hashes=$parentHashesFile")
|
||||
& git revert -n -m 1 HEAD | Out-Null
|
||||
& "./vcpkg$executableExtension" ci $Triplet --dry-run --exclude=$skipList @hostArgs @commonArgs --no-binarycaching "--output-hashes=$parentHashesFile"
|
||||
|
Loading…
Reference in New Issue
Block a user