From 10564777b981a92ac5b641cdc954b0eea772bdad Mon Sep 17 00:00:00 2001 From: Roman Rylov Date: Wed, 27 Mar 2024 00:31:50 +0300 Subject: [PATCH] Add auth token to env --- .github/workflows/publish-nuget.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 90d6226..8337e13 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -48,4 +48,7 @@ jobs: - name: Push to GitHub package registry working-directory: ./CsvHelper.FastDynamic - run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_AUTH_TOKEN --skip-duplicate \ No newline at end of file + run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_AUTH_TOKEN --skip-duplicate + env: + NUGET_AUTH_TOKEN: ${{ secrets.NUGETTOKEN }} + \ No newline at end of file