@@ -79,21 +79,11 @@ jobs:
79
79
80
80
- ${{ if eq(parameters.useHelix, 'true')}} :
81
81
- ${{ if ne(parameters.osGroup, 'Linux_Musl')}} :
82
- # Linux builds (of all variants) run in Mariner containers and do not include pwsh by default
83
82
- ${{ if eq(parameters.osGroup, 'Linux') }} :
84
- - script : |
85
- $(Build.SourcesDirectory)/restore.sh
86
- $(Build.SourcesDirectory)/.dotnet/dotnet tool install --global PowerShell
87
- echo "##vso[task.prependpath]/home/cloudtest_azpcontainer/.dotnet/tools"
88
- displayName: Install pwsh
89
-
90
83
# Calculate the fully qualified Nodejs version first so that any new releases will result in a new cache key
91
84
- script : |
92
- pwsh .. /eng/helix/GetNodejsVersion.ps1 -MajorVersion $(NodeMajorVersion) -TaskVariableName 'FqNodejsVersion'
85
+ pwsh ./eng/helix/GetNodejsVersion.ps1 -MajorVersion $(NodeMajorVersion) -TaskVariableName 'FqNodejsVersion'
93
86
displayName: Calculate Node.js version Linux
94
- workingDirectory: "$(Build.SourcesDirectory)/.dotnet"
95
- env:
96
- DOTNET_ROOT: "$(Build.SourcesDirectory)/.dotnet"
97
87
98
88
- task : Cache@2
99
89
displayName : Node.js Cache Linux
@@ -103,11 +93,8 @@ jobs:
103
93
path : $(HelixNodejsPayloadPath)
104
94
105
95
- script : |
106
- pwsh .. /eng/helix/InstallNodejs.ps1 -Version $(FqNodejsVersion) -Architecture ${{ parameters.architecture }} -DestinationFolder "$(HelixNodejsPayloadPath)"
96
+ pwsh ./eng/helix/InstallNodejs.ps1 -Version $(FqNodejsVersion) -Architecture ${{ parameters.architecture }} -DestinationFolder "$(HelixNodejsPayloadPath)"
107
97
displayName: Hydrate Node.js Installation Linux
108
- workingDirectory: "$(Build.SourcesDirectory)/.dotnet"
109
- env:
110
- DOTNET_ROOT: "$(Build.SourcesDirectory)/.dotnet"
111
98
112
99
- ${{ else }} :
113
100
- pwsh : eng/helix/GetNodejsVersion.ps1
0 commit comments