diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index c8628dfa..d59d82f5 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -18,7 +18,7 @@ jobs: shell: pwsh run: | $ErrorActionPreference = "Stop" - $env:PSModulePath = @($env:PSModulePath, ".\PwshSpectreConsole\") -join ";" + $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)