From edccc8dd8775e328ea8f4bd8ba795b281f523423 Mon Sep 17 00:00:00 2001 From: Tigger Kindel Date: Mon, 6 Nov 2023 09:20:32 -0700 Subject: [PATCH] pspreview_ --- .github/workflows/publish.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index da63204..3b24011 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,13 +40,10 @@ jobs: - name: Build F7History v${{ steps.gitversion.outputs.FullSemVer }} id: build - shell: ~\.dotnet\tools\pwsh {0} + shell: pwsh run: | ~\.dotnet\tools\pwsh -v - Install-Module Microsoft.PowerShell.ConsoleGuiTools -Verbose -Force - Import-Module Microsoft.PowerShell.ConsoleGuiTools -Verbose -Force - Install-module -Name ModuleBuilder -Force -SkipPublisherCheck -Scope CurrentUser - ./build.ps1 -Version ${{ steps.gitversion.outputs.FullSemVer }} -Verbose + ~\.dotnet\tools\pwsh -noprofile -command "Install-Module Microsoft.PowerShell.ConsoleGuiTools -Verbose -Force ; Import-Module Microsoft.PowerShell.ConsoleGuiTools -Verbose -Force ; Install-module -Name ModuleBuilder -Force -SkipPublisherCheck -Scope CurrentUser ; ./build.ps1 -Version ${{ steps.gitversion.outputs.FullSemVer }} -Verbose - name: Upload Build Output uses: actions/upload-artifact@v3