diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 5cf3e95..566c354 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -17,10 +17,10 @@ jobs: with: dotnet-version: '8.0.x' # SDK Version to use. source-url: https://nuget.pkg.github.com/Stone-Red-Software/index.json - env: - NUGET_AUTH_TOKEN: ${{secrets.GH_TOKEN}} - run: dotnet build --configuration Release src/StoneRed.NetificationApi - name: Create the package run: dotnet pack --configuration Release src/StoneRed.NetificationApi - name: Publish the package to nuget.org run: dotnet nuget push src/StoneRed.NetificationApi/bin/Release/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json + env: + NUGET_AUTH_TOKEN: ${{secrets.NUGET_TOKEN}}