brandedoutcast / publish-nuget

📦 GitHub action to automate publishing NuGet packages when project version changes
https://github.com/marketplace/actions/publish-nuget
MIT License
197 stars 101 forks source link

[BUG] nuget push error #70

Closed narojay closed 2 years ago

narojay commented 2 years ago

errormessage

this is my yml :

name: Publish Packages

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Setup .NET Core
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: 5.0.x
    - name: Build with dotnet
      run: dotnet build --configuration Release
      working-directory: ./
    - name: Pack with dotnet
      run: dotnet pack ./Narojay.Tools.Core.csproj --output nuget-packages --configuration Release
    - name: Run ls
      run: ls 
    - name: Push with dotnet
      run: dotnet nuget push ./nuget-packages/*.nupkg --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json

i dont know why always display this : image

narojay commented 2 years ago

i have fix the problem, because my icon path error