We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 839ef27 commit 611bfe7Copy full SHA for 611bfe7
1 file changed
.github/workflows/publish.yml
@@ -9,8 +9,6 @@ jobs:
9
publish:
10
runs-on: ubuntu-latest
11
steps:
12
- - name: Checkout
13
- uses: actions/checkout@v4
14
- name: Setup .NET
15
uses: actions/setup-dotnet@v4
16
with:
@@ -28,9 +26,5 @@ jobs:
28
26
- name: Publish to NuGet
29
27
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
30
run: |
31
- # Ensure the tag is on the master branch.
32
- git branch --remote --contains | grep origin/master
33
-
34
- # Push to NuGet.
35
dotnet nuget push ./artifacts/packages/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
36
dotnet nuget push ./artifacts/packages/*.snupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
0 commit comments