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.2 #27

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

Conversation

dependabot[bot]
Copy link

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

Bumps actions/setup-dotnet from 2 to 3.0.2.

Release notes

Sourced from actions/setup-dotnet's releases.

Updating @​action/core, adding logic for processing the DOTNET_INSTALL_DIR environment variable.

In the scope of this release such changes were made:

  1. The logic for processing the DOTNET_INSTALL_DIR environment variable was added to support relative paths and paths containing ~ #332
  2. 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.

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>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/actions/setup-dotnet/commit/4d4a70f4a5b2a5a5329f13be4ac933f2c9206ac0&quot;&gt;&lt;code&gt;4d4a70f&lt;/code&gt;&lt;/a> Add logic for processing DOTNET_INSTALL_DIR environment variable (<a href="https://github-redirect.dependabot.com/actions/setup-dotnet/issues/332&quot;&gt;#332&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/actions/setup-dotnet/commit/70c3f4d09839515e1a5435d1ef8962637486aad1&quot;&gt;&lt;code&gt;70c3f4d&lt;/code&gt;&lt;/a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-dotnet/issues/331&quot;&gt;#331&lt;/a> from rentziass/rentziass/update-actions-core</li>
<li><a href="https://github.com/actions/setup-dotnet/commit/92606438168a6a25f2939b37f03d67816d27b1c5&quot;&gt;&lt;code&gt;9260643&lt;/code&gt;&lt;/a> Update <code>@​actions/core</code> to 1.10.0</li>
<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.2&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.2.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](actions/setup-dotnet@v2...v3.0.2)

---
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 13, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #27 (06a0271) into main (70ac0e0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #27   +/-   ##
=======================================
  Coverage   92.23%   92.23%           
=======================================
  Files          73       73           
  Lines        1558     1558           
  Branches      233      233           
=======================================
  Hits         1437     1437           
  Misses         62       62           
  Partials       59       59           
Flag Coverage Δ
unittests 92.23% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

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.

1 participant