Skip to content

Commit

Permalink
CI: Remove temp branch publish
Browse files Browse the repository at this point in the history
  • Loading branch information
nullforce committed Dec 22, 2020
1 parent 9fed7d5 commit 6194729
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 @@ -48,11 +48,11 @@ jobs:

# Publish NuGet packages
- name: Publish NuGet Package to nuget.org
if: github.event_name == 'pull_request' || startsWith(github.ref, 'refs/heads/main') || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/githubActions')
if: github.event_name == 'pull_request' || startsWith(github.ref, 'refs/heads/main') || startsWith(github.ref, 'refs/tags/')
env:
NUGET_APIKEY: ${{ secrets.NUGET_KEY_NULLFORCE_API }}
run: dotnet nuget push publish/*.nupkg --api-key $NUGET_APIKEY --source https://api.nuget.org/v3/index.json

- name: Publish NuGet Package to GitHub Packages
if: github.event_name == 'pull_request' || startsWith(github.ref, 'refs/heads/main') || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/githubActions')
if: github.event_name == 'pull_request' || startsWith(github.ref, 'refs/heads/main') || startsWith(github.ref, 'refs/tags/')
run: dotnet nuget push publish/*.nupkg --api-key ${{secrets.GITHUB_TOKEN}} --source https://nuget.pkg.github.com/${{github.repository_owner}}/index.json

0 comments on commit 6194729

Please sign in to comment.