Skip to content

Commit e68daa6

Browse files
authored
Merge pull request #618 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents 35a5687 + eaed4f6 commit e68daa6

File tree

57 files changed

+394
-57118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+394
-57118
lines changed

.github/workflows/dev_api.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,27 @@ jobs:
6161
# Clean up output directory
6262
Remove-Item -Path $OutputPath -Recurse -Force
6363
64+
- name: Build CippExtensions Module
65+
shell: pwsh
66+
run: |
67+
$ModulePath = Join-Path $env:GITHUB_WORKSPACE "Modules/CippExtensions"
68+
$OutputPath = Join-Path $env:GITHUB_WORKSPACE "Output"
69+
70+
Write-Host "Building module from: $ModulePath"
71+
Write-Host "Output directory: $OutputPath"
72+
73+
# Build the module using ModuleBuilder
74+
Build-Module -SourcePath $ModulePath -OutputDirectory $OutputPath -Verbose
75+
76+
# Replace the source module with the built module
77+
Remove-Item -Path $ModulePath -Recurse -Force
78+
Copy-Item -Path (Join-Path $OutputPath "CippExtensions") -Destination $ModulePath -Recurse -Force
79+
80+
Write-Host "Module built and replaced successfully"
81+
82+
# Clean up output directory
83+
Remove-Item -Path $OutputPath -Recurse -Force
84+
6485
- name: Login to Azure
6586
uses: azure/login@v2
6687
with:
-12.5 KB
Binary file not shown.

Modules/Az.KeyVault/6.3.1/Az.KeyVault.Extension/Az.KeyVault.Extension.psd1

Lines changed: 0 additions & 223 deletions
This file was deleted.

0 commit comments

Comments
 (0)