Skip to content

Commit bb15888

Browse files
revert and still use PAT (microsoft#157955)
still use PAT
1 parent cad50f2 commit bb15888

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

build/azure-pipelines/distro-build.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,26 @@ trigger:
77
pr: none
88

99
steps:
10-
- checkout: self
11-
persistCredentials: true
12-
1310
- task: NodeTool@0
1411
inputs:
1512
versionSpec: "16.x"
1613

14+
- task: AzureKeyVault@1
15+
displayName: "Azure Key Vault: Get Secrets"
16+
inputs:
17+
azureSubscription: "vscode-builds-subscription"
18+
KeyVaultName: vscode
19+
SecretsFilter: "github-distro-mixin-password"
20+
1721
- script: |
1822
set -e
1923
24+
cat << EOF > ~/.netrc
25+
machine github.com
26+
login vscode
27+
password $(github-distro-mixin-password)
28+
EOF
29+
2030
git config user.email "[email protected]"
2131
git config user.name "VSCode"
2232

0 commit comments

Comments
 (0)