Disable `InitializeCIArtifacts` on Non-CI Builds (#9330)
* disable InitializeCIArtifacts outside of CI until we get a better loop for usage
This commit is contained in:
Родитель
824fa55979
Коммит
8fd2675689
|
@ -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)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче