From ea8f71f8db8455517963fdf0b382d1ec770feebc Mon Sep 17 00:00:00 2001 From: hanabi1224 Date: Fri, 5 Mar 2021 00:46:01 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3ecdb09..ece9d23 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -87,6 +87,7 @@ jobs: if: github.ref == 'refs/heads/master' env: NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} + shell: pwsh run: | pushd dotnet/artifacts - dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY || echo 'done' + dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k $env:NUGET_API_KEY || echo 'done'