diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 25a38f855..163cb9a24 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -84,7 +84,7 @@ jobs: - name: Publish to PowerShell Gallery run: | $env:DOTNET_CLI_UI_LANGUAGE="en_US" - Publish-Module -Name .\MASES.KNetPS -NuGetApiKey ${{ secrets.MASES_POWERSHELLGALLERY_API_KEY }} + Publish-Module -Force -Name .\MASES.KNetPS -NuGetApiKey ${{ secrets.MASES_POWERSHELLGALLERY_API_KEY }} shell: pwsh - name: Publish to GitHub @@ -96,4 +96,4 @@ jobs: run: | nuget push .\bin\*.nupkg -ApiKey ${{ secrets.MASES_NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json -SkipDuplicate nuget push .\bin\*.snupkg -ApiKey ${{ secrets.MASES_NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json -SkipDuplicate - \ No newline at end of file +