Skip to content

Commit 6ee41f5

Browse files
allan2awakecoding
authored andcommitted
fix(ci): include psd1 when zipping the PS module
1 parent 9f89c4c commit 6ee41f5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/package.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,13 @@ jobs:
245245
}
246246
247247
Remove-Item $PSModuleZipFilePath -ErrorAction SilentlyContinue | Out-Null
248-
Compress-Archive -Path $DGatewayPSModulePath -Destination $PSModuleZipFilePath -CompressionLevel Optimal
249248
250249
$PSModuleParentPath = Split-Path $DGatewayPSModulePath -Parent
250+
251+
Push-Location $PSModuleParentPath
252+
Compress-Archive -Path $DGatewayPSModulePath -Destination $PSModuleZipFilePath -CompressionLevel Optimal
253+
Pop-Location
254+
251255
New-ModulePackage $DGatewayPSModulePath $PSModuleParentPath
252256
253257
- name: Sign executables

0 commit comments

Comments
 (0)