Skip to content

Commit

Permalink
Use build pool MSI for APIScan (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
jander-msft authored Mar 20, 2024
1 parent f212d98 commit bc973e6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions build/yaml/jobs/codeanalysis/apiscan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ jobs:
- checkout: self
clean: true

# Expire ApiScan one day before declared expirary, to make sure that we update it before
# it expires, regardless of timezone
- powershell: if ((Get-Date).Add((New-TimeSpan -Days 1)) -ge (Get-Date -Date "$(ApiScanExpiration)")) { throw "ApiScan key expired. Please update" }

- task: DownloadBuildArtifacts@0
displayName: Download Windows Files (Release)
inputs:
Expand Down Expand Up @@ -73,7 +69,7 @@ jobs:
isLargeApp: false
continueOnError: true
env:
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId);TenantId=$(TenantId);AppKey=$(AppKey)
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId)

- task: TSAUpload@2
inputs:
Expand Down

0 comments on commit bc973e6

Please sign in to comment.