Skip to content

nuget

nuget #3

Workflow file for this run

name: nuget
on:
workflow_dispatch:
schedule:
- cron: "0 2 1-7 * 6"
jobs:
nuget:
runs-on: ubuntu-latest
steps:
- name: 🤖 defaults
uses: devlooped/actions-bot@v1
with:
name: ${{ secrets.BOT_NAME }}
email: ${{ secrets.BOT_EMAIL }}
gh_token: ${{ secrets.GH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: 🤘 checkout
uses: actions/checkout@v4
with:
ref: main
token: ${{ env.GH_TOKEN }}
- name: ⚙ sponsors
run: |
dotnet tool update -g dotnet-sponsor
'${{ secrets.DEVLOOPED_TOKEN }}' | sponsor nuget --tos --with-token
- name: ⬆️ commit
run: |
git add *.json
(git commit -m "🖉 Update OSS contributors stats" && git push) || echo "Done"