From dee559622aea8cd62113edf7a1c637e9294e7e7b Mon Sep 17 00:00:00 2001 From: Shaun Lawrie Date: Sat, 9 Dec 2023 02:40:03 +1300 Subject: [PATCH] Update build-test-publish.yml --- .github/workflows/build-test-publish.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index a7e7b7aa..0ab41f7b 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -34,12 +34,8 @@ jobs: git add PwshSpectreConsole/PwshSpectreConsole.psd1 git commit -m "[skip ci] Bump version to $newVersion" git push - - name: Deploy Package - shell: pwsh - run: | - $ErrorActionPreference = "Stop" Import-Module .\PwshSpectreConsole\PwshSpectreConsole.psd1 -Force - Publish-Module -Name "PwshSpectreConsole" -Exclude "Build.ps1" -NugetApiKey $env:PSGALLERY_API_KEY + Publish-Module -Name PwshSpectreConsole -Exclude "Build.ps1" -NugetApiKey $env:PSGALLERY_API_KEY publish-prerelease-to-psgallery: name: Publish Prerelease