Skip to content

Commit c9c4c89

Browse files
committed
reduce ipmo lines from 2 to 1
1 parent ab84d6e commit c9c4c89

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Diff for: .vsts-ci/releaseJob.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ jobs:
5050
dotnet --list-sdks
5151
displayName: dotnet info
5252
- pwsh: |
53-
$buildHelperPath = Join-Path -Path $(repoRoot) -ChildPath 'tools/buildHelper'
54-
Import-Module $buildHelperPath
53+
Import-Module (Join-Path -Path $(repoRoot) -ChildPath 'tools/buildHelper')
5554
Set-ReleaseJobVariables -Channel ${{ parameters.channel }} -ImageName ${{ parameters.imageName }}
5655
displayName: Set ACR Channel ImageName vars
5756
name: setImageNameStep
@@ -63,8 +62,7 @@ jobs:
6362
azurePowerShellVersion: latestVersion
6463
pwsh: true
6564
inline: |
66-
$buildHelperPath = Join-Path -Path $(repoRoot) -ChildPath 'tools/buildHelper'
67-
Import-Module $buildHelperPath
65+
Import-Module (Join-Path -Path $(repoRoot) -ChildPath 'tools/buildHelper')
6866
Set-SASVariable -DockerNamespace $(dockerNamespace) -DockerHost $(dockerHost) -DockerImage $(dockerImage) -StorageAccountName $(StorageAccount) -ImageName '$(setImageNameStep.dockerBuildImageName)' -Channel $(channel) -Version '$(Version)'
6967
displayName: Set SasURL
7068
- pwsh: |
@@ -131,5 +129,3 @@ jobs:
131129
enable_network: true
132130
enable_cache: true
133131
enable_pull: true
134-
135-

0 commit comments

Comments
 (0)