File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change
1
+
2
+ parameters :
3
+ name : ' ' # defaults for any parameters that aren't specified
4
+ vmImage : ' '
5
+
6
+ jobs :
7
+ - job : ${{ parameters.name }}
8
+ pool :
9
+ vmImage : ${{ parameters.vmImage }}
10
+
11
+ variables :
12
+ DOTNET_CLI_TELEMETRY_OPTOUT : 1
13
+ POWERSHELL_TELEMETRY_OPTOUT : 1
14
+ # Avoid expensive initialization of dotnet cli, see: http://donovanbrown.com/post/Stop-wasting-time-during-NET-Core-builds
15
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
16
+
17
+ steps :
18
+ - script : dotnet restore PSReadLine/PSReadLine.csproj
19
+ - script : dotnet nuget locals all --list
20
+ - powershell : |
21
+ Install-Module InvokeBuild,platyPS -Scope CurrentUser -Force
22
+ Import-Module InvokeBuild,platyPS
23
+ Invoke-Build -Task ZipRelease -Configuration Release
24
+
Original file line number Diff line number Diff line change
1
+
2
+ jobs :
3
+ - template : azure-devops-psreadline.yml
4
+ parameters :
5
+ name : Linux
6
+ vmImage : ' ubuntu-16.04'
7
+
8
+ - template : azure-devops-psreadline.yml
9
+ parameters :
10
+ name : macOS
11
+ vmImage : ' macOS-10.13'
12
+
13
+ # - template: azure-devops-psreadline.yml
14
+ # parameters:
15
+ # name: Windows
16
+ # vmImage: 'vs2017-win2016'
Original file line number Diff line number Diff line change 4
4
<clear />
5
5
<add key =" nuget.org" value =" https://api.nuget.org/v3/index.json" />
6
6
<add key =" powershell-core" value =" https://powershell.myget.org/F/powershell-core/api/v3/index.json" />
7
+ <add key =" powershell-modules" value =" https://www.powershellgallery.com/api/v2/" />
7
8
</packageSources >
8
- </configuration >
9
+ </configuration >
You can’t perform that action at this time.
0 commit comments