Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/setup-dotnet from 2 to 3.0.1 #250

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 4, 2022

Bumps actions/setup-dotnet from 2 to 3.0.1.

Release notes

Sourced from actions/setup-dotnet's releases.

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.

Example of usage:

build:
  runs-on: self-hosted
  env:
    DOTNET_INSTALL_DIR: "path/to/directory"
  steps:
    - uses: actions/setup-dotnet@v3
      with:
        dotnet-version: '3.1.x'
v3.0.0
This major release includes the following changes:

#219 New input dotnet-quality was added in #315:

    - 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>
<ul>
<li><a href="https://github-redirect.dependabot.com/actions/setup-dotnet/issues/251">#251</a> The problem with out of support .NET version warnings was solved in <a href="https://github-redirect.dependabot.com/actions/setup-dotnet/pull/315">#315</a>.</li>
</ul>
<p><strong>Breaking changes</strong>:</p>
<ul>
<li>Installation paths for Windows and Ubuntu images were changed to match the location of pre-installed SDKs. In more detail, read <a href="https://github.com/actions/setup-dotnet/blob/main/docs/adrs/v3-setup-dotnet.md#breaking-changes">here</a>.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/actions/setup-dotnet/commit/45c9f236cf9a0c09d11298348f6ed06bd81914c0&quot;&gt;&lt;code&gt;45c9f23&lt;/code&gt;&lt;/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&quot;&gt;&lt;code&gt;c7e7147&lt;/code&gt;&lt;/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&quot;&gt;#324&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/actions/setup-dotnet/commit/0705ef0281736c0ca177266c8d04eb08f72072de&quot;&gt;&lt;code&gt;0705ef0&lt;/code&gt;&lt;/a> Implement proposal stated in ADR for setup-dotnet v3 and functionality from f...</li>
<li>See full diff in <a href="https://github.com/actions/setup-dotnet/compare/v2...v3.0.1&quot;&gt;compare view</a></li>
</ul>
</details>
<br />


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 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](https://github.com/actions/setup-dotnet) from 2 to 3.0.1.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](actions/setup-dotnet@v2...v3.0.1)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants