Skip to content

Commit ab86365

Browse files
committed
add feedz.io publishing step
1 parent 04e5607 commit ab86365

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,24 @@ jobs:
4141
- run: ./build.sh generateapichanges -s true
4242
name: "Inspect public API changes"
4343

44-
- name: publish to github package repository
44+
- name: publish canary packages github package repository
4545
if: github.event_name == 'push' && startswith(github.ref, 'refs/heads')
4646
shell: bash
4747
run: |
4848
until dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate --no-symbols true; do echo "Retrying"; sleep 1; done;
4949
50+
# Github packages requires authentication, this is likely going away in the future so for now we publish to feedz.io
51+
- 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 true
52+
name: publish canary packages to feedz.io
53+
if: github.event_name == 'push' && startswith(github.ref, 'refs/heads')
54+
5055
- run: ./build.sh generatereleasenotes -s true
5156
name: Generate release notes for tag
5257
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags')
5358
- run: ./build.sh createreleaseongithub -s true --token ${{secrets.GITHUB_TOKEN}}
5459
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags')
5560
name: Create or update release for tag on github
56-
61+
5762
# - 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
5863
# name: release to nuget.org
5964
# if: github.event_name == 'push' && startswith(github.ref, 'refs/tags')

0 commit comments

Comments
 (0)