~ruther/NosSmooth

bbe55656a5ba1264b35e3f0e03ca0f3c2ad69ea8 — Rutherther 3 years ago 161ac6c
chore: update nuget push action
1 files changed, 6 insertions(+), 4 deletions(-)

M .github/workflows/nuget-push.yml
M .github/workflows/nuget-push.yml => .github/workflows/nuget-push.yml +6 -4
@@ 17,13 17,15 @@ jobs:
      uses: actions/checkout@v2
      
    - name: Setup .NET Core SDK
      uses: actions/setup-dotnet@v1.9.0
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: '6.0.x'
      env:
        NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
        NUGET_AUTH_TOKEN: ${{secrets.NUGET_KEY}}
        
    - name: Pack app
      run: dotnet pack NosSmooth.sln --configuration Release -o .
        
      
    - name: Publish NuGet
      working-directory: nuget
      run: dotnet nuget push *.nupkg --skip-duplicate
\ No newline at end of file
      run: dotnet nuget push *.nupkg --skip-duplicate -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
\ No newline at end of file

Do not follow this link