Skip to content

Commit

Permalink
(maint) - Update PDK Install
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Aug 2, 2023
1 parent dbf8893 commit 6378c8a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
workflow_dispatch:

env:
pdk_version: 2.5.0.0
pdk_version: 3.0.0.0
module_cache: PSFramework, PSDscResources, AccessControlDSC, powershell-yaml, PSScriptAnalyzer

defaults:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/puppetize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
required: false

env:
pdk_version: 2.7.1.0
pdk_version: 3.0.0.0
module_cache: Puppet.Dsc, PSFramework, PSDscResources, powershell-yaml

jobs:
Expand Down Expand Up @@ -87,13 +87,15 @@ jobs:
env:
FORGE_TOKEN: ${{ secrets.FORGE_API_TOKEN }}
run: |
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
refreshenv
Import-Module -Name PSDesiredStateConfiguration -Force
Import-Module -Name Puppet.Dsc -Force
Import-Module -Name ./src/Puppet.Dsc -Force
$null = Get-Command PDK, Publish-NewDscModuleVersion
$PublishParameters = @{
ForgeNameSpace = 'dsc'
Name = '${{ matrix.module_name }}'
Name = '${{ matrix.module }}'
OnlyNewer = $true
MaxBuildCount = 1
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repuppetize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
required: false

env:
pdk_version: 2.5.0.0
pdk_version: 3.0.0.0
module_cache: Puppet.Dsc, PSFramework, PSDscResources, powershell-yaml

jobs:
Expand Down

0 comments on commit 6378c8a

Please sign in to comment.