Skip to content

Commit

Permalink
Fix path, put quotes around glob
Browse files Browse the repository at this point in the history
I believe the `dotnet nuget push` command wants to interpret the
`*.nuget` glob itself, rather than have the shell expand the glob.
  • Loading branch information
rmunn committed Jul 18, 2024
1 parent 4877256 commit aa303bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nuget-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
if: github.event_name == 'pull_request' || (github.event_name == 'push' && startsWith(github.ref, 'refs/heads'))
shell: bash
run: |
dotnet nuget push artifacts/*.nupkg -s https://nuget.pkg.github.com/sillsdev/index.json -k "$NUGET_API_KEY" --skip-duplicate
dotnet nuget push "src/artifacts/package/release/*.nupkg" -s https://nuget.pkg.github.com/sillsdev/index.json -k "$NUGET_API_KEY" --skip-duplicate
env:
NUGET_API_KEY: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit aa303bc

Please sign in to comment.