~ruther/NosSmooth

8c97994a7df1dc28da75538b9a2d3cd3b57e6165 — Rutherther 3 years ago e6dbb18
chore: update nuget push action to have the environment variable with publish nuget task
1 files changed, 3 insertions(+), 3 deletions(-)

M .github/workflows/nuget-push.yml
M .github/workflows/nuget-push.yml => .github/workflows/nuget-push.yml +3 -3
@@ 20,12 20,12 @@ jobs:
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: '6.0.x'
      env:
        NUGET_AUTH_TOKEN: ${{secrets.NUGET_KEY}}
        
    - name: Pack app
      run: dotnet pack NosSmooth.sln --configuration Release -o nuget
      
    - name: Publish NuGet
      working-directory: nuget
      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
      run: dotnet nuget push *.nupkg --skip-duplicate -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
      env:
        NUGET_AUTH_TOKEN: ${{secrets.NUGET_KEY}}
\ No newline at end of file

Do not follow this link