We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a164eb commit ac470b3Copy full SHA for ac470b3
1 file changed
.github/workflows/test.yaml
@@ -15,5 +15,16 @@ jobs:
15
id: test
16
shell: powershell
17
run: |
18
- Get-Command Update-Metadata
+ Get-PackageProvider -Name Nuget -ForceBootstrap | Out-Null
19
+ Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
20
+ if ((Test-Path -Path ./requirements.psd1)) {
21
+ if (-not (Get-Module -Name PSDepend -ListAvailable)) {
22
+ Install-Module -Name PSDepend -Repository PSGallery -Scope CurrentUser -Force
23
+ }
24
+ Import-Module -Name PSDepend -Verbose:$false
25
+ Invoke-PSDepend -Path './requirements.psd1' -Install -Import -Force -WarningAction SilentlyContinue
26
+ } else {
27
+ Write-Warning 'No [requirements.psd1] found. Skipping build dependency installation.'
28
29
+ Get-Command Update-Metadata -All
30
0 commit comments