In scope of this release we updated the link to the .Net Core releases index file (#337) in order to fix the ECONNRESET error. Besides, we refactored authutil.ts to get rid of xmlbuilder (actions/setup-dotnet#336)
Updating @action/core, adding logic for processing the DOTNET_INSTALL_DIR environment variable.
In the scope of this release such changes were made:
The logic for processing the DOTNET_INSTALL_DIR environment variable was added to support relative paths and paths containing ~#332
The version of @actions/core was bumped to 1.10.0 #331
Enable DOTNET_INSTALL_DIR environment variable
In scope of this release the DOTNET_INSTALL_DIR environment variable was enabled to add the ability to change the installation directory for .NET SDK #329. The DOTNET_INSTALL_DIR can be helpful when access to the default installation directory, for instance, on self-hosted runners, is denied.
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
dotnet-quality: 'preview'
- run: dotnet build <my project>
</code></pre>
<p>More in detail <a href="https://github.com/actions/setup-dotnet#using-the-dotnet-quality-input">here</a>.</p>
<ul>
<li><a href="https://github-redirect.dependabot.com/actions/setup-dotnet/issues/241">#241</a> The output variable <code>dotnet-version</code> which contains the installed by the action SDK version was added in <a href="https://github-redirect.dependabot.com/actions/setup-dotnet/pull/324">#324</a>:</li>
</ul>
<pre lang="yaml"><code> - uses: actions/setup-dotnet@v3
id: cp310
with:
dotnet-version: '3.1.422'
- run: echo '${{ steps.cp310.outputs.dotnet-version }}' # outputs 3.1.422
</code></pre>
<p>More in detail <a href="https://github.com/actions/setup-dotnet/tree/main#dotnet-version">here</a>.</p>
<ul>
<li>The <code>dotnet-version</code> syntax was updated and now it allows to specify the prerelease version without using <code>include-prerelease</code> input. The <code>include-prerelease</code> input was cut out:</li>
</ul>
<pre lang="yaml"><code> - uses: actions/setup-dotnet@v3
with:
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/actions/setup-dotnet/commit/607fce577a46308457984d59e4954e075820f10a"><code>607fce5</code></a> Update the link to the .Net Core releases index file (<a href="https://github-redirect.dependabot.com/actions/setup-dotnet/issues/337">#337</a>)</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/501b34e8f6aaa5642d10962932c41853b94c569a"><code>501b34e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-dotnet/issues/336">#336</a> from e-korolevskii/refactor-nuget-cfg-parse</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/b827fcce4dbc6434a80f356257d9ef848185b9bd"><code>b827fcc</code></a> build</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/239baf3c5b074b5fdf94a2488098b9990f4ce7fd"><code>239baf3</code></a> Merge branch 'main' into refactor-nuget-cfg-parse</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/4d4a70f4a5b2a5a5329f13be4ac933f2c9206ac0"><code>4d4a70f</code></a> Add logic for processing DOTNET_INSTALL_DIR environment variable (<a href="https://github-redirect.dependabot.com/actions/setup-dotnet/issues/332">#332</a>)</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/70c3f4d09839515e1a5435d1ef8962637486aad1"><code>70c3f4d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-dotnet/issues/331">#331</a> from rentziass/rentziass/update-actions-core</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/92606438168a6a25f2939b37f03d67816d27b1c5"><code>9260643</code></a> Update <code>@actions/core</code> to 1.10.0</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/45c9f236cf9a0c09d11298348f6ed06bd81914c0"><code>45c9f23</code></a> Enable ability to change .NET SDK installation directory by `DOTNET_INSTALL_D...</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/6d6c7c93130c3ccfd9d67ffc0586352f66a6a4e2"><code>6d6c7c9</code></a> build</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/e753bbf2ffe4839e3bd3df1637122a87a8aecb94"><code>e753bbf</code></a> remove build</li>
<li>Additional commits viewable in <a href="https://github.com/actions/setup-dotnet/compare/v1.8.1...v3.0.3">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-dotnet&package-manager=github_actions&previous-version=1.8.1&new-version=3.0.3)](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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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)
Bumps actions/setup-dotnet from 1.8.1 to 3.0.3.
Release notes
Sourced from actions/setup-dotnet's releases.