Skip to content

Commit 4528fb1

Browse files
authored
Update NuGet.yml
1 parent 4f88227 commit 4528fb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/NuGet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
github_token: ${{ secrets.GITHUB_TOKEN }}
1515
workflow: ci.yml
1616
workflow_conclusion: success
17-
branch: main
17+
branch: ${{github.ref_name}}
1818
name: nugetPackages-${{github.ref_name}}
1919

2020
- name: Display structure of downloaded files
2121
run: ls -R
2222

2323
- name: Push package to NuGet.org
24-
run: dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET }} -s https://api.nuget.org/v3/index.json
24+
run: dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET }} -s https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)