File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -13,27 +13,24 @@ jobs:
13
13
14
14
steps :
15
15
- task : UseDotNet@2
16
- displayName : Install .NET 7 SDK
16
+ displayName : Install .NET 8 SDK
17
17
inputs :
18
18
packageType : sdk
19
- version : 7 .0.x
19
+ version : 8 .0.x
20
20
- template : util/get-github-pat-steps.yml
21
21
22
22
- pwsh : |
23
23
dotnet --version
24
24
dotnet new tool-manifest --force
25
- dotnet tool install powershell
26
- displayName: Install Latest PowerShell (7.3+)
25
+ dotnet tool install powershell --version 7.4.*
26
+ displayName: Install PowerShell 7.4.x
27
27
28
- - task : AzurePowerShell@5
29
- inputs :
30
- azureSubscription : ' Azure SDK Infrastructure'
31
- ScriptType : ' InlineScript'
32
- Inline : |
33
- $ADOTokenValue = Get-AzKeyVaultSecret -VaultName ${env:KEYVAULTNAME} -Name ${env:ADOTOKENNAME} -AsPlainText
34
- Write-Host "##vso[task.setvariable variable=ADOToken;issecret=true]$ADOTokenValue"
35
- azurePowerShellVersion : ' LatestVersion'
36
- displayName : Get ADOToken from Key Vault
28
+ - template : util/get-keyvault-secret-steps.yml
29
+ parameters :
30
+ serviceConnectionName : $(AzureSubscription)
31
+ keyVaultName : $(KeyVaultName)
32
+ secretName : $(ADOTokenName)
33
+ outVar : ' ADOToken'
37
34
38
35
- pwsh : |
39
36
dotnet tool run pwsh -NoLogo -NoProfile -NonInteractive -File "./tools/Github/ParseServiceContactsList.ps1 -ADOToken $(ADOToken)"
You can’t perform that action at this time.
0 commit comments