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:
dotnet-version: '5.0.0-preview.6'
</code></pre>
<p>More in detail <a href="https://github.com/actions/setup-dotnet#supported-version-syntax">here</a>.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<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/c7e7147fd3e41056e75a761416c06f5fa781b5fb"><code>c7e7147</code></a> Add ability to write resolved version of SDK into the output variable (<a href="https://github-redirect.dependabot.com/actions/setup-dotnet/issues/324">#324</a>)</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/0705ef0281736c0ca177266c8d04eb08f72072de"><code>0705ef0</code></a> Implement proposal stated in ADR for setup-dotnet v3 and functionality from f...</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/a351d9ea84bc76ec7508debf02a39d88f8b6c0c0"><code>a351d9e</code></a> Add support for Windows-arm (<a href="https://github-redirect.dependabot.com/actions/setup-dotnet/issues/320">#320</a>)</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/857c316a9d1712bfa2c7083c4183dcbe273a1d6c"><code>857c316</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-dotnet/issues/313">#313</a> from panticmilos/vmpantic/update-version-package-json</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/bba8299c353791dc1a458157c32af1cfd0c5a933"><code>bba8299</code></a> npm run update-installers</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/fd4e15fa4455526558c445d3387258a53dc214fe"><code>fd4e15f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-dotnet/issues/291">#291</a> from vsafonkin/v-vsafonkin/v3-adr</li>
<li>Additional commits viewable in <a href="https://github.com/actions/setup-dotnet/compare/v1.8.1...v3.0.2">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.2)](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.2.
Release notes
Sourced from actions/setup-dotnet's releases.