Skip to content

Commit

Permalink
Temporarily disabling nuget push, not to push test packages to NuGet
Browse files Browse the repository at this point in the history
  • Loading branch information
Piedone committed Jun 20, 2022
1 parent 17f805d commit dd8d298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ jobs:
# https://docs.microsoft.com/en-us/nuget/create-packages/symbol-packages-snupkg.
run: dotnet pack --output artifacts --configuration Release --no-restore --no-build -p:NuGetBuild=true -p:Version=${{ steps.get-version.outputs.VERSION }} -p:GenerateDocumentationFile=True -p:NoWarn=NU5104 -p:TreatWarningsAsErrors=true -warnaserror -p:WarnOnPackingNonPackableProject=True -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:NoDefaultExcludes=true --verbosity ${{ inputs.verbosity }}

- name: Push with dotnet
run: dotnet nuget push artifacts/*.nupkg --api-key ${{ secrets.API_KEY }} --source ${{ steps.source-value.outputs.value }} --skip-duplicate
#- name: Push with dotnet
# run: dotnet nuget push artifacts/*.nupkg --api-key ${{ secrets.API_KEY }} --source ${{ steps.source-value.outputs.value }} --skip-duplicate

- name: Publish Artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit dd8d298

Please sign in to comment.