Skip to content

Commit

Permalink
Limiting publication to the CBenghi onwership.
Browse files Browse the repository at this point in the history
This is because the secret publication key is only available there.
  • Loading branch information
CBenghi committed Oct 1, 2023
1 parent efd01fd commit 49ea244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Publish
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' ## only if main and not a PR
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' && github.repository_owner == 'CBenghi' ## only if main and not a PR
run: dotnet nuget push **\*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate --force-english-output

0 comments on commit 49ea244

Please sign in to comment.