Skip to content

Commit b2d16b6

Browse files
authored
SqlServerDsc: Revert ModuleBuilder workaround (#2096)
1 parent 0376a01 commit b2d16b6

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

.github/workflows/code-analysis-built-module.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@ jobs:
3434
run: |
3535
Write-Information -MessageData 'Resolving dependencies.' -InformationAction 'Continue'
3636
.\build.ps1 -ResolveDependency -Tasks 'noop'
37-
# This is a workaround for the issue: https://github.com/PoshCode/ModuleBuilder/pull/136
38-
- name: Patch ModuleBuilder
39-
shell: powershell
40-
run: |
41-
Write-Information -MessageData 'Patching ModuleBuilder v3.1.7.' -InformationAction 'Continue'
42-
.\build.ps1 -Tasks 'noop'
43-
Install-PSResource -Name 'Viscalyx.Common' -Repository 'PSGallery' -TrustRepository -Quiet -Confirm:$false
44-
Install-ModulePatch -Uri https://raw.githubusercontent.com/viscalyx/Viscalyx.Common/refs/heads/main/patches/ModuleBuilder_3.1.7_patch.json -Force
4537
- name: Build Module
4638
shell: powershell
4739
run: |

.github/workflows/code-analysis.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@ jobs:
3434
run: |
3535
Write-Information -MessageData 'Resolving dependencies.' -InformationAction 'Continue'
3636
.\build.ps1 -ResolveDependency -Tasks 'noop'
37-
# This is a workaround for the issue: https://github.com/PoshCode/ModuleBuilder/pull/136
38-
- name: Patch ModuleBuilder
39-
shell: powershell
40-
run: |
41-
Write-Information -MessageData 'Patching ModuleBuilder v3.1.7.' -InformationAction 'Continue'
42-
.\build.ps1 -Tasks 'noop'
43-
Install-PSResource -Name 'Viscalyx.Common' -Repository 'PSGallery' -TrustRepository -Quiet -Confirm:$false
44-
Install-ModulePatch -Uri https://raw.githubusercontent.com/viscalyx/Viscalyx.Common/refs/heads/main/patches/ModuleBuilder_3.1.7_patch.json -Force
4537
- name: Build Module
4638
shell: powershell
4739
run: |

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
### Removed
99

10+
- SqlServerDsc
11+
- Revert workaround in GitHub Actions workflows as new version of ModuleBuilder
12+
was released.
1013
- SqlServerDsc.Common
1114
- Removed the function `Get-RegistryPropertyValue` and `Format-Path` in
1215
favor of the commands with the same names in the module _DscResource.Common_.

0 commit comments

Comments
 (0)