Skip to content

Merge branch 'development' #1226

Merge branch 'development'

Merge branch 'development' #1226

Workflow file for this run

name: Cross Platform Import
on: [push]
jobs:
build:
env:
SMODefaultModuleName: dbatools
name: Module imports on all platforms
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest, macOS-14]
steps:
- uses: actions/checkout@v3
- name: Install and cache PowerShell modules
uses: potatoqualitee/psmodulecache@v5.2
with:
modules-to-cache: dbatools.library:2024.4.12
- name: Perform the import
shell: pwsh
run: |
Import-Module ./dbatools.psd1 -ErrorAction Stop
(Get-DbaManagementObject).LoadTemplate -ne $null