{"repo":"martincostello/update-dotnet-sdk","free":true,"listed":false,"github":"https://github.com/martincostello/update-dotnet-sdk","clone":"git clone https://github.com/martincostello/update-dotnet-sdk.git","description":"A GitHub Action that updates the .NET SDK","language":"TypeScript","stars":18,"topics":["dotnet","github-actions"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"Update .NET SDK This action updates the .NET SDK version specified by a global.json file stored in a GitHub repository. An example Pull Request created by the action can be found here: [martincostello/update-dotnet-sdk#10][example-pull-request]. You can find out more information about this GitHub action in [this YouTube stream 📺][youtube-stream]. You can also find a sample repository that uses this action to automate .NET patch updates here: [martincostello/dotnet-patch-automation-sample][patching-sample]. Example Usage Example Workflow Below is a minimal example of a full GitHub Actions workflow to automate .NET SDK updates. Targeting a Specific Branch For scheduled workflows, the default branch is always used. This means that if the ref input is not specified for the actions/checkout action, the workflow will checkout the default branch of the repository. If you wish a scheduled workflow to target another branch, you should explicitly specify that branch in the workflow when checking out the code before the step that uses this action to check for an update to the .NET SDK. Advanced Workflow Below are examples of an advanced GitHub Actions workflow to automate .NET SDK updates that will also use the [dotnet-outdated][dotnet-outdated] .NET Global Tool to update any NuGet packages for the current .NET SDK release channel that are available from NuGet.org if the .NET SDK is updated. This workflow leverages a [GitHub reusable workflow][reusable-workflow-docs] that is [included ","default_branch":null,"files":null,"tree":[],"storefront":"/r/martincostello","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/martincostello/update-dotnet-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}