Ad

setup-dotnet: Set up .NET SDK version for GitHub Actions

setup-dotnet installs the specified .NET SDK version(s) for use in GitHub Actions workflows, offering flexible version management and caching.
Screenshot of actions/setup-dotnet homepage

setup-dotnet sets up a .NET SDK environment for GitHub Actions workflows. It allows you to optionally download and cache specific versions of the .NET SDK, including options for installing multiple versions and specifying architectures. This action simplifies managing .NET SDK versions within your workflows, ensuring consistent builds and deployment.

This action provides flexible version selection with support for exact versions, latest patch/minor/major releases, and pre-release versions. It includes caching for NuGet packages, improving workflow execution speed. Additionally, it supports specifying different architectures and utilizes a global.json file for configuration. It also supports specifying the .NET quality (daily, signed, validated, preview, ga).

  • Version Management: Supports specifying exact versions, latest patch/minor/major releases and pre-release versions of the .NET SDK.
  • Caching: Caches NuGet packages to speed up workflow execution by leveraging NuGet's caching mechanisms.
  • Architecture Support: Allows specifying the target architecture (x64, x86, arm64, etc.) for installing the .NET SDK.
  • Global.json Support: Reads .NET SDK version from a global.json file for consistent configuration.
  • Quality Selection: Enables installing specific qualities of the SDK (daily, signed, validated, preview, ga).
  • Matrix Support: Supports matrix jobs for installing multiple versions of the .NET SDK and building for different versions.
  • Dependency Caching: Caches NuGet packages for multiple steps within a single workflow.

This project is actively maintained and has a solid history of releases and community support. Recent commits indicate ongoing development and addressing of issues. Comprehensive documentation and release notes are available, suggesting a robust and reliable tool for .NET projects within GitHub Actions.

This action is beneficial for developers using .NET in GitHub Actions workflows. It streamlines the process of managing .NET SDK versions, ensuring build consistency and reducing execution times. By providing flexible configuration options like version specification, caching, and architecture targeting, it simplifies .NET project setup within GitHub Actions.

Summarize:
Share:
Stars
1,182
Forks
564
Issues
45
Created
7 years ago
Commit
27 days ago
License
MIT
Archived
No
Updated 9 days ago

Similar Repositories