Skip to content

Commit 266b8a5

Browse files
authored
Update code-gen.yml (#24251)
Use Pwsh for codegen
1 parent 9a33104 commit 266b8a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.azure-pipelines/code-gen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ jobs:
9494
git remote set-url origin https://azure-powershell-bot:$(GithubToken)@github.com/Azure/azure-powershell.git;
9595
git push origin codegen/${{ parameters.ServiceName }} --force;
9696
arguments: '-RequiredPsVersion $(PSVersion)'
97+
pwsh: true
9798
- pwsh: |
9899
$SourceBranch = "$(Build.SourceBranch)"
99100
$SourceBranch = $SourceBranch.Replace("refs/heads/", "")

0 commit comments

Comments
 (0)