File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 38
38
publish-prerelease :
39
39
runs-on : macos-latest
40
40
needs : package
41
- if : github.ref == 'refs/heads/deploy '
41
+ if : github.ref == 'refs/heads/main '
42
42
name : Publish package on github.com
43
43
steps :
44
- - run : dotnet nuget add source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --name github --username ${{ github.repository_owner }} --password ${{ github.token }} --store-password-in-clear-text
45
- - run : dotnet nuget push "**/*.nupkg" --source github
44
+ - run : echo version -- ${{ needs.package.outputs.version }} --
45
+ - run : echo dotnet nuget add source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --name github --username ${{ github.repository_owner }} --password ${{ github.token }} --store-password-in-clear-text
46
+ - run : echo dotnet nuget push "**/*.nupkg" --source github
You can’t perform that action at this time.
0 commit comments