Sync eng/common directory with azure-sdk-tools for PR 9330 (#6177)
* disable InitializeCIArtifacts outside of CI until we get a better loop for usage --------- Co-authored-by: Scott Beddall <scbedd@microsoft.com>
This commit is contained in:
Родитель
868a14f4d8
Коммит
3687136d04
|
@ -106,6 +106,10 @@ class PackageProps {
|
||||||
}
|
}
|
||||||
|
|
||||||
[void]InitializeCIArtifacts() {
|
[void]InitializeCIArtifacts() {
|
||||||
|
if (-not $env:SYSTEM_TEAMPROJECTID -and -not $env:GITHUB_ACTIONS) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
$RepoRoot = Resolve-Path (Join-Path $PSScriptRoot ".." ".." "..")
|
$RepoRoot = Resolve-Path (Join-Path $PSScriptRoot ".." ".." "..")
|
||||||
|
|
||||||
$ciFolderPath = Join-Path -Path $RepoRoot -ChildPath (Join-Path "sdk" $this.ServiceDirectory)
|
$ciFolderPath = Join-Path -Path $RepoRoot -ChildPath (Join-Path "sdk" $this.ServiceDirectory)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче