File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 33
33
run : |
34
34
$reqs = Import-PowerShellDataFile ./requirements.psd1
35
35
$moduleNames = $reqs.Keys | Where-Object { $_ -ne 'PSDependOptions' -and $null -eq $reqs[$_].DependencyType }
36
- $dependencyList = ($moduleNames | ForEach-Object { '{0}:{1}' -f $_, $reqs[$_].Version }) -join ', '
36
+ $dependencyList = ($moduleNames | Sort-Object | ForEach-Object { '{0}:{1}' -f $_, $reqs[$_].Version }) -join ', '
37
37
"psdependencies=$dependencyList" >> $env:GITHUB_OUTPUT
38
38
39
39
- name : Install and cache PowerShell modules
Original file line number Diff line number Diff line change 29
29
run : |
30
30
$reqs = Import-PowerShellDataFile ./requirements.psd1
31
31
$moduleNames = $reqs.Keys | Where-Object { $_ -ne 'PSDependOptions' -and $null -eq $reqs[$_].DependencyType }
32
- $dependencyList = ($moduleNames | ForEach-Object { '{0}:{1}' -f $_, $reqs[$_].Version }) -join ', '
32
+ $dependencyList = ($moduleNames | Sort-Object | ForEach-Object { '{0}:{1}' -f $_, $reqs[$_].Version }) -join ', '
33
33
"psdependencies=$dependencyList" >> $env:GITHUB_OUTPUT
34
34
35
35
- name : Install and cache PowerShell modules
Original file line number Diff line number Diff line change 42
42
run : |
43
43
$reqs = Import-PowerShellDataFile ./requirements.psd1
44
44
$moduleNames = $reqs.Keys | Where-Object { $_ -ne 'PSDependOptions' -and $null -eq $reqs[$_].DependencyType }
45
- $dependencyList = ($moduleNames | ForEach-Object { '{0}:{1}' -f $_, $reqs[$_].Version }) -join ', '
45
+ $dependencyList = ($moduleNames | Sort-Object | ForEach-Object { '{0}:{1}' -f $_, $reqs[$_].Version }) -join ', '
46
46
"psdependencies=$dependencyList" >> $env:GITHUB_OUTPUT
47
47
48
48
- name : Install and cache PowerShell modules
You can’t perform that action at this time.
0 commit comments