File tree Expand file tree Collapse file tree 3 files changed +165
-127
lines changed Expand file tree Collapse file tree 3 files changed +165
-127
lines changed Original file line number Diff line number Diff line change 1+ steps :
2+ - task : PowerShell@2
3+ displayName : Install PowerShell SDK
4+ inputs :
5+ targetType : ' inline'
6+ pwsh : true
7+ script : |
8+ try{
9+ # Installing Beta module.
10+ Install-Module Microsoft.Graph.Beta -Repository PSGallery -Scope AllUsers -AcceptLicense -SkipPublisherCheck -Force -AllowClobber
11+ }catch{
12+ echo "Error when installing Beta"
13+ }
14+ try{
15+ # Installing V1 module.
16+ Install-Module Microsoft.Graph -Repository PSGallery -Scope AllUsers -AcceptLicense -SkipPublisherCheck -Force -AllowClobber
17+ }catch{
18+ echo "Error when installing V1"
19+ }
Original file line number Diff line number Diff line change 3333 name : ${{ parameters.BuildAgent }}
3434 timeoutInMinutes : ${{ parameters.PipelineTimeout }}
3535 steps :
36-
36+ - template : ./common-templates/install-sdk.yml
3737 - task : PowerShell@2
3838 name : " ComputeBranch"
3939 displayName : " Compute weekly examples update branch name"
You can’t perform that action at this time.
0 commit comments