Skip to content

Commit

Permalink
ensure InitializeCIArtifacts only runs on CI machines
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd authored and azure-sdk committed Nov 5, 2024
1 parent d7e2f05 commit 7798845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/common/scripts/Package-Properties.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class PackageProps {
}

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

Expand Down

0 comments on commit 7798845

Please sign in to comment.