Skip to content

Commit

Permalink
Add modulepath
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Oct 23, 2023
1 parent f524016 commit 8f520a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
shell: pwsh
run: |
$ErrorActionPreference = "Stop"
$env:PSModulePath = @($env:PSModulePath, ".\PwshSpectreConsole\") -join ";"
$version = Get-Module PwshSpectreConsole -ListAvailable | Sort-Object -Property Version -Descending | Select-Object -First 1 -ExpandProperty Version
if($null -eq $version) { throw "Failed to load version" }
$newVersion = [version]::new($version.Major, $version.Minor, $version.Build + 1)
Expand Down

0 comments on commit 8f520a7

Please sign in to comment.