Skip to content

Commit

Permalink
Update library version with working Analysis Services on Desktop (dat…
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee authored May 5, 2023
1 parent 01ef80b commit 8452dc7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/gallery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,24 @@ on:
defaults:
run:
shell: pwsh
env:
SMODefaultModuleName: dbatools
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
linux-tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, arm64]
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

steps:
- uses: actions/checkout@v3

- name: Install and cache PowerShell modules
uses: potatoqualitee/psmodulecache@v5.2
with:
modules-to-cache: dbatools.library:2023.4.27
modules-to-cache: dbatools.library:2023.5.5

- name: Download dbatools from Gallery
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,25 @@ on: [push]
defaults:
run:
shell: pwsh
env:
SMODefaultModuleName: dbatools
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

jobs:
linux-tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, arm64]
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

steps:
- uses: actions/checkout@v3

- name: Install and cache PowerShell modules
uses: potatoqualitee/psmodulecache@v5.2
with:
modules-to-cache: dbatools.library:2023.4.27
modules-to-cache: dbatools.library:2023.5.5

- name: Set encryption values
run: |
Expand Down Expand Up @@ -57,8 +59,6 @@ jobs:
windows-tests:
runs-on: windows-latest
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

steps:
- name: Checkout dbatools repo
Expand All @@ -68,7 +68,7 @@ jobs:
uses: potatoqualitee/psmodulecache@v5.2
with:
shell: powershell, pwsh
modules-to-cache: dbatools.library:2023.4.27
modules-to-cache: dbatools.library:2023.5.5

- name: Install SQL Server localdb
uses: potatoqualitee/mssqlsuite@v1.3
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/xplat-import.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: Cross Platform Import
on: [push]
defaults:
env:
SMODefaultModuleName: dbatools

jobs:
build:
env:
SMODefaultModuleName: dbatools
name: Module imports on all platforms
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -16,7 +21,7 @@ jobs:
- name: Install and cache PowerShell modules
uses: potatoqualitee/psmodulecache@v5.2
with:
modules-to-cache: dbatools.library:2023.4.27
modules-to-cache: dbatools.library:2023.5.5

- name: Perform the import
shell: pwsh
Expand Down
2 changes: 1 addition & 1 deletion dbatools.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
Description = "The community module that enables SQL Server Pros to automate database development and server administration"

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @{ ModuleName = 'dbatools.library'; ModuleVersion = '2023.4.27' }
RequiredModules = @{ ModuleName = 'dbatools.library'; ModuleVersion = '2023.5.5' }

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = @()
Expand Down

0 comments on commit 8452dc7

Please sign in to comment.