From ca17d70e580d5becd90786eec8aeb8105d3d4c48 Mon Sep 17 00:00:00 2001 From: martincostello Date: Thu, 29 Feb 2024 14:13:32 +0000 Subject: [PATCH] Fix syntax Forgot it's bash not PowerShell. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26f98467f..6d4c8bd1a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -152,7 +152,7 @@ jobs: - name: Push NuGet packages to aspnet-contrib MyGet env: MYGET_API_KEY: ${{ secrets.MYGET_API_KEY }} - run: nuget push "*.nupkg" -ApiKey $env:MYGET_API_KEY -SkipDuplicate -Source https://www.myget.org/F/aspnet-contrib/api/v3/index.json + run: nuget push "*.nupkg" -ApiKey "${MYGET_API_KEY}" -SkipDuplicate -Source https://www.myget.org/F/aspnet-contrib/api/v3/index.json publish-nuget: needs: [ build, validate-packages ] @@ -175,4 +175,4 @@ jobs: - name: Push NuGet packages to NuGet.org env: NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} - run: nuget push "*.nupkg" -ApiKey $env:NUGET_API_KEY -SkipDuplicate -Source https://api.nuget.org/v3/index.json + run: nuget push "*.nupkg" -ApiKey "${NUGET_API_KEY}" -SkipDuplicate -Source https://api.nuget.org/v3/index.json