Skip to content

Include new version of SQL Server Maintenance Solution by Ola Halleng… #1222

Include new version of SQL Server Maintenance Solution by Ola Halleng…

Include new version of SQL Server Maintenance Solution by Ola Halleng… #1222

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