Skip to content

Commit

Permalink
Add support for fetching owner-specific stats
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Sep 28, 2024
1 parent f750029 commit 5694f7c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@ jobs:
- name: 🤘 checkout
uses: actions/checkout@v4
with:
ref: main
token: ${{ env.GH_TOKEN }}

- name: ⚙ sponsors
run: |
dotnet tool update -g dotnet-sponsor
$owners = gc owners.json | convertfrom-json
foreach ($owner in $owners) {
'${{ secrets.DEVLOOPED_TOKEN }}' | sponsor nuget --tos --oss-only false --with-token --owner $owner
}
# global stats for all packages
'${{ secrets.DEVLOOPED_TOKEN }}' | sponsor nuget --tos --with-token
- name: ⬆️ commit
Expand Down
4 changes: 4 additions & 0 deletions owners.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[
"Devlooped",
"kzu"
]

0 comments on commit 5694f7c

Please sign in to comment.