From 5304d9b42289c1097f35f8cefeccaaf3667be883 Mon Sep 17 00:00:00 2001 From: Sam Byass Date: Fri, 22 Jul 2022 03:05:30 +0100 Subject: [PATCH] [publish] Actually include nuget api key --- .github/workflows/default.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 40ce5d4..a6300da 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -27,4 +27,6 @@ jobs: path: Fmod5Sharp/bin/Release/*.nupkg - name: Upload to NuGet if: contains(github.event.head_commit.message, '[publish]') == true + env: + NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} run: dotnet nuget push ./Fmod5Sharp/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY \ No newline at end of file