Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
Forgot it's bash not PowerShell.
  • Loading branch information
martincostello committed Feb 29, 2024
1 parent a3c7964 commit 44d177d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand All @@ -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

0 comments on commit 44d177d

Please sign in to comment.