Skip to content

Add support for workloads input#693

Merged
HarithaVattikuti merged 5 commits into
actions:mainfrom
gowridurgad:workloads-input
Jan 29, 2026
Merged

Add support for workloads input#693
HarithaVattikuti merged 5 commits into
actions:mainfrom
gowridurgad:workloads-input

Conversation

@gowridurgad
Copy link
Copy Markdown
Contributor

@gowridurgad gowridurgad commented Jan 12, 2026

Description:
Adds support for installing .NET SDK workloads as part of the dotnet setup step.

Related issue:
#523

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.
@gowridurgad gowridurgad requested a review from a team as a code owner January 12, 2026 07:23
Copilot AI review requested due to automatic review settings January 12, 2026 07:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for installing .NET SDK workloads as part of the dotnet setup action by introducing a new workloads input parameter. The implementation automatically refreshes workload manifests before installing specified workloads.

Changes:

  • Added a new workloads input parameter to action.yml for specifying SDK workloads to install
  • Implemented workload installation logic in setup-dotnet.ts that parses comma-separated workload names and executes dotnet workload commands
  • Added documentation and usage examples for the new workloads feature
  • Added e2e test coverage across multiple operating systems (Ubuntu, Windows, macOS) using the wasm-tools workload

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
action.yml Defines the new workloads input parameter for the action
src/setup-dotnet.ts Implements workload parsing and installation logic with dotnet workload update and dotnet workload install commands
dist/setup/index.js Compiled/bundled version of the TypeScript source changes
README.md Adds documentation section explaining the workloads feature with usage examples and compatibility notes
.github/workflows/e2e-tests.yml Adds cross-platform e2e test for workload installation using wasm-tools

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/setup-dotnet.ts
Comment thread src/setup-dotnet.ts
Comment thread src/setup-dotnet.ts
Comment thread src/setup-dotnet.ts
Comment thread README.md Outdated
priyagupta108
priyagupta108 previously approved these changes Jan 13, 2026
aparnajyothi-y
aparnajyothi-y previously approved these changes Jan 14, 2026
priyagupta108
priyagupta108 previously approved these changes Jan 23, 2026
aparnajyothi-y
aparnajyothi-y previously approved these changes Jan 23, 2026
@HarithaVattikuti HarithaVattikuti merged commit 131b410 into actions:main Jan 29, 2026
108 checks passed
mergify Bot added a commit to ArcadeData/arcadedb that referenced this pull request May 3, 2026
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 4.3.1 to 5.2.0.
Release notes

*Sourced from [actions/setup-dotnet's releases](https://github.com/actions/setup-dotnet/releases).*

> v5.2.0
> ------
>
> What's changed
> --------------
>
> ### Enhancements
>
> * Add support for workloads input by [`@​gowridurgad`](https://github.com/gowridurgad) in [actions/setup-dotnet#693](https://redirect.github.com/actions/setup-dotnet/pull/693)
> * Add support for optional architecture input for cross-architecture .NET installs by [`@​priya-kinthali`](https://github.com/priya-kinthali) in [actions/setup-dotnet#700](https://redirect.github.com/actions/setup-dotnet/pull/700)
>
> ### Dependency Updates
>
> * Upgrade fast-xml-parser from 4.4.1 to 5.3.6 by [`@​dependabot`](https://github.com/dependabot) in [actions/setup-dotnet#671](https://redirect.github.com/actions/setup-dotnet/pull/671)
> * Upgrade minimatch from 3.1.2 to 3.1.5 by [`@​dependabot`](https://github.com/dependabot) in [actions/setup-dotnet#705](https://redirect.github.com/actions/setup-dotnet/pull/705)
>
> **Full Changelog**: <actions/setup-dotnet@v5...v5.2.0>
>
> v5.1.0
> ------
>
> What's Changed
> --------------
>
> ### Documentation
>
> * Readme update for environment variable on self hosted linux runners by [`@​priya-kinthali`](https://github.com/priya-kinthali) in [actions/setup-dotnet#689](https://redirect.github.com/actions/setup-dotnet/pull/689)
> * Contributor icon updates by [`@​Falco20019`](https://github.com/Falco20019) in [actions/setup-dotnet#604](https://redirect.github.com/actions/setup-dotnet/pull/604)
>
> ### Dependency updates
>
> * Upgrade actions/checkout from 5 to 6 by [`@​dependabot`](https://github.com/dependabot) in [actions/setup-dotnet#684](https://redirect.github.com/actions/setup-dotnet/pull/684)
> * Upgrade to latest actions packages by [`@​salmanmkc`](https://github.com/salmanmkc) in [actions/setup-dotnet#687](https://redirect.github.com/actions/setup-dotnet/pull/687)
> * Upgrade dependencies in testproject and checkout in Readme by [`@​priya-kinthali`](https://github.com/priya-kinthali) in [actions/setup-dotnet#692](https://redirect.github.com/actions/setup-dotnet/pull/692)
>
> New Contributors
> ----------------
>
> * [`@​priya-kinthali`](https://github.com/priya-kinthali) made their first contribution in [actions/setup-dotnet#689](https://redirect.github.com/actions/setup-dotnet/pull/689)
> * [`@​Falco20019`](https://github.com/Falco20019) made their first contribution in [actions/setup-dotnet#604](https://redirect.github.com/actions/setup-dotnet/pull/604)
>
> **Full Changelog**: <actions/setup-dotnet@v5...v5.1.0>
>
> v5.0.1
> ------
>
> What's Changed
> --------------
>
> * Upgrade typescript from 5.4.2 to 5.9.2 and document breaking changes in v5 by [`@​dependabot`](https://github.com/dependabot) in [actions/setup-dotnet#624](https://redirect.github.com/actions/setup-dotnet/pull/624)
> * Upgrade eslint-plugin-jest from 27.9.0 to 29.0.1 by [`@​dependabot`](https://github.com/dependabot) in [actions/setup-dotnet#648](https://redirect.github.com/actions/setup-dotnet/pull/648)
> * Upgrade actions/publish-action from 0.3.0 to 0.4.0 and update macos-13 to macos-15-intel by [`@​dependabot`](https://github.com/dependabot) in [actions/setup-dotnet#665](https://redirect.github.com/actions/setup-dotnet/pull/665)
>
> **Full Changelog**: <actions/setup-dotnet@v5...v5.0.1>
>
> v5.0.0
> ------
>
> What's Changed
> --------------
>
> ### Breaking Changes
>
> * Upgrade to Node.js 24 and modernize async usage by [`@​salmanmkc`](https://github.com/salmanmkc) in [actions/setup-dotnet#654](https://redirect.github.com/actions/setup-dotnet/pull/654)
>
> Make sure your runner is updated to this version or newer to use this release. v2.327.1 [Release Notes](https://github.com/actions/runner/releases/tag/v2.327.1)
>
> ### Dependency Updates

... (truncated)


Commits

* [`c2fa09f`](actions/setup-dotnet@c2fa09f) Bump minimatch from 3.1.2 to 3.1.5 ([#705](https://redirect.github.com/actions/setup-dotnet/issues/705))
* [`02574b1`](actions/setup-dotnet@02574b1) Add support for optional architecture input for cross-architecture .NET insta...
* [`16c7b3c`](actions/setup-dotnet@16c7b3c) Bump fast-xml-parser from 4.4.1 to 5.3.6 ([#671](https://redirect.github.com/actions/setup-dotnet/issues/671))
* [`131b410`](actions/setup-dotnet@131b410) Add support for workloads input ([#693](https://redirect.github.com/actions/setup-dotnet/issues/693))
* [`baa11fb`](actions/setup-dotnet@baa11fb) Bump test dependencies to resolve System.Net.Http vulnerability, update workf...
* [`24ec4f2`](actions/setup-dotnet@24ec4f2) Upgrade to latest actions packages ([#687](https://redirect.github.com/actions/setup-dotnet/issues/687))
* [`4c100cb`](actions/setup-dotnet@4c100cb) Fix icons ([#604](https://redirect.github.com/actions/setup-dotnet/issues/604))
* [`25328d8`](actions/setup-dotnet@25328d8) Bump actions/checkout from 5 to 6 ([#684](https://redirect.github.com/actions/setup-dotnet/issues/684))
* [`937b8dd`](actions/setup-dotnet@937b8dd) Update README with note on setting DOTNET\_INSTALL\_DIR for Linux permission is...
* [`2016bd2`](actions/setup-dotnet@2016bd2) Bump actions/publish-action from 0.3.0 to 0.4.0 and update macos-13 to macos-...
* Additional commits viewable in [compare view](actions/setup-dotnet@67a3573...c2fa09f)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=actions/setup-dotnet&package-manager=github\_actions&previous-version=4.3.1&new-version=5.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants