File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,27 @@ steps:
125
125
PathtoPublish : ' $(System.DefaultWorkingDirectory)/build$(Build.BuildId).zip'
126
126
name : ' drop'
127
127
` ` `
128
+ #### PowerShell
129
+
130
+ You can use the following sample to create your YAML file to package your PowerShell app, PowerShell is only supported for Windows Azure Functions:
131
+
132
+ ` ` ` yaml
133
+ jobs :
134
+ - job : Build
135
+ pool :
136
+ vmImage : ' VS2017-Win2016'
137
+ steps :
138
+ - task : ArchiveFiles@2
139
+ displayName : " Archive files"
140
+ inputs :
141
+ rootFolderOrFile : " $(System.DefaultWorkingDirectory)"
142
+ includeRootFolder : false
143
+ archiveFile : " $(System.DefaultWorkingDirectory)/build$(Build.BuildId).zip"
144
+ - task : PublishBuildArtifacts@1
145
+ inputs :
146
+ PathtoPublish : ' $(System.DefaultWorkingDirectory)/build$(Build.BuildId).zip'
147
+ name : ' drop'
148
+ ` ` `
128
149
129
150
### Deploy your app
130
151
You can’t perform that action at this time.
0 commit comments