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.
2 parents 52722d4 + d7352b4 commit 0cbeea6Copy full SHA for 0cbeea6
.github/workflows/publish.yml
@@ -8,6 +8,7 @@ on:
8
9
jobs:
10
build:
11
+ if: startsWith(github.ref, 'refs/tags/v') && github.ref == 'refs/heads/main'
12
runs-on: ubuntu-latest
13
14
steps:
@@ -30,3 +31,4 @@ jobs:
30
31
32
- name: 🚀 Publish to NuGet.org
33
run: dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --source https://int.nugettest.org/v3.index.json # https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
34
+
0 commit comments