Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 9330 (#6177)
Browse files Browse the repository at this point in the history
* disable InitializeCIArtifacts outside of CI until we get a better loop for usage

---------

Co-authored-by: Scott Beddall <[email protected]>
  • Loading branch information
azure-sdk and scbedd authored Nov 5, 2024
1 parent 868a14f commit 3687136
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eng/common/scripts/Package-Properties.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ class PackageProps {
}

[void]InitializeCIArtifacts() {
if (-not $env:SYSTEM_TEAMPROJECTID -and -not $env:GITHUB_ACTIONS) {
return
}

$RepoRoot = Resolve-Path (Join-Path $PSScriptRoot ".." ".." "..")

$ciFolderPath = Join-Path -Path $RepoRoot -ChildPath (Join-Path "sdk" $this.ServiceDirectory)
Expand Down

0 comments on commit 3687136

Please sign in to comment.