Skip to content

Commit

Permalink
Merge pull request #8 from autometrics-dev/nuget-publish-package
Browse files Browse the repository at this point in the history
Update Nuget publish location from the sandbox
  • Loading branch information
P2P-Nathan authored May 16, 2023
2 parents c40cfd0 + f6d67aa commit fa08c37
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/dotnet-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
branches:
- release/**
push:
branches: [ "master" ]
branches: [ "main" ]
pull_request:
branches: [ "master" ]
branches: [ "main" ]


permissions:
Expand Down Expand Up @@ -60,8 +60,4 @@ jobs:
- name: Publish
if: startsWith(github.ref, 'refs/heads/release')
run: nuget push **\*.nupkg -Source 'https://apiint.nugettest.org/v3/index.json' -ApiKey ${{secrets.NUGET_INT_API_KEY}}

- name: Publish Symbols
if: startsWith(github.ref, 'refs/heads/release')
run: nuget push **\*.snupkg -Source 'https://apiint.nugettest.org/v3/index.json' -ApiKey ${{secrets.NUGET_INT_API_KEY}}
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.AUTOMETRICS_NUGET_PACKAGE_KEY}}

0 comments on commit fa08c37

Please sign in to comment.