Skip to content

Instantly share code, notes, and snippets.

@martincostello
Last active November 14, 2020 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martincostello/45d3332c9e2c7a454517bbb6b585510a to your computer and use it in GitHub Desktop.
Save martincostello/45d3332c9e2c7a454517bbb6b585510a to your computer and use it in GitHub Desktop.
GitHub Actions workflow to update the .NET SDK
name: update-dotnet-sdk
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
jobs:
update-dotnet-sdk:
name: Update .NET SDK
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update .NET SDK
uses: martincostello/update-dotnet-sdk@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment