Skip to content

Commit

Permalink
Updated worker to Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ykuijs committed Nov 6, 2023
1 parent 9524986 commit 7b15702
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ModuleBuildTestRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
jobs:
Build_Stage_Package_Module:
name: Package Module
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -34,9 +34,9 @@ jobs:
dotnet-gitversion
$gitVersionObject = dotnet-gitversion | ConvertFrom-Json
Write-Output "NuGetVersionV2=$($gitVersionObject.NuGetVersionV2)" >> $env:GITHUB_OUTPUT
shell: pwsh
shell: powershell
- name: Build & Package Module
shell: pwsh
shell: powershell
run: './build.ps1 -ResolveDependency -Tasks Pack'
env:
ModuleVersion: ${{ steps.GitVersion.outputs.NuGetVersionV2 }}
Expand Down
5 changes: 4 additions & 1 deletion source/M365DSC.CRG.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ PowerShellVersion = '5.0'
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @('DscBuildHelpers', @{ModuleName='DscBuildHelpers'; ModuleVersion='0.2.1'; GUID='23ccd4bf-0a52-4077-986f-c153893e5a6a'})
RequiredModules = @(
'xDscResourceDesigner', @{ ModuleName = 'xDscResourceDesigner'; ModuleVersion = '1.9.0.0'}
'DscBuildHelpers', @{ModuleName='DscBuildHelpers'; ModuleVersion='0.2.1'; GUID='23ccd4bf-0a52-4077-986f-c153893e5a6a'}
)

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()
Expand Down

0 comments on commit 7b15702

Please sign in to comment.