Skip to content

Commit 2c13e06

Browse files
authored
Add automatic SDK updates (#53414)
* Add automatic SDK updates * Update update-sdk.yml
1 parent 4751656 commit 2c13e06

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/update-sdk.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: update-dotnet-sdk
2+
3+
on:
4+
5+
# Scheduled trigger to check for .NET SDK updates at 12 UTC every Monday
6+
schedule:
7+
- cron: '00 12 * * MON'
8+
9+
# Manual trigger to update the .NET SDK on-demand.
10+
workflow_dispatch:
11+
12+
jobs:
13+
update-dotnet-sdk:
14+
name: Update .NET SDK
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: martincostello/update-dotnet-sdk@8765302da88e1a78c845125626f3726190908593
19+
with:
20+
quality: 'daily'
21+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)