Skip to content

Commit cb2604b

Browse files
authored
Update publish-to-nuget.yml
1 parent 7040516 commit cb2604b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish-to-nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ jobs:
4242
run: dotnet test --configuration $BUILD_CONFIG --no-build --verbosity normal --framework net7.0
4343

4444
- name: Publish to NuGet
45-
if: startsWith(github.ref, 'refs/heads/release')
45+
if: startsWith(github.ref, 'refs/tags')
4646
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}

0 commit comments

Comments
 (0)