File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 45
45
- name : publish canary packages github package repository
46
46
if : github.event_name == 'push' && startswith(github.ref, 'refs/heads')
47
47
shell : bash
48
- run : |
49
- until dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate --no-symbols true; do echo "Retrying"; sleep 1; done;
48
+ timeout-minutes : 10
49
+ continue-on-error : true
50
+ run : |
51
+ until dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate --no-symbols -s https://nuget.pkg.github.com/elastic/index.json; do echo "Retrying"; sleep 1; done;
50
52
51
53
# Github packages requires authentication, this is likely going away in the future so for now we publish to feedz.io
52
54
- run : dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.FEEDZ_IO_API_KEY}} -s https://f.feedz.io/elastic/all/nuget/index.json --skip-duplicate --no-symbols
60
62
if : github.event_name == 'push' && startswith(github.ref, 'refs/tags')
61
63
name : Create or update release for tag on github
62
64
63
- - run : dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.NUGET_ORG_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true
65
+ - run : dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.NUGET_ORG_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols
64
66
name : release to nuget.org
65
67
if : github.event_name == 'push' && startswith(github.ref, 'refs/tags')
You can’t perform that action at this time.
0 commit comments