Skip to content

Commit 4b5d551

Browse files
committed
Use shortcut powershell
1 parent cc0a64f commit 4b5d551

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

azure-pipelines.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ steps:
3737
PathtoPublish: '$(vsix)'
3838
ArtifactName: '$(system.teamProject)'
3939

40-
- task: PowerShell@2
41-
inputs:
42-
filePath: '$(Build.SourcesDirectory)\scripts\GetVersion.ps1'
40+
- powershell: '$(Build.SourcesDirectory)\scripts\GetVersion.ps1'
4341

4442
- task: GitHubRelease@0
4543
inputs:
@@ -49,8 +47,6 @@ steps:
4947
title: 'Version $(vsix.version)'
5048
assets: '$(vsix)'
5149

52-
- task: PowerShell@2
53-
inputs:
54-
filePath: '$(Build.SourcesDirectory)\scripts\PublishVsix.ps1'
55-
env:
56-
MARKETPLACE_TOKEN: $(marketplace.token)
50+
- powershell: '$(Build.SourcesDirectory)\scripts\PublishVsix.ps1'
51+
env:
52+
MARKETPLACE_TOKEN: $(marketplace.token)

0 commit comments

Comments
 (0)