Skip to content

Commit 0e9775c

Browse files
Bump actions/setup-dotnet from 2 to 3 (#949)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 2 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-dotnet/releases">actions/setup-dotnet's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <p>This major release includes the following <strong>changes:</strong></p> <ul> <li><a href="https://redirect.github.com/actions/setup-dotnet/issues/219">#219</a> New input <code>dotnet-quality</code> was added in <a href="https://redirect.github.com/actions/setup-dotnet/pull/315">#315</a>:</li> </ul> <pre lang="yaml"><code> - uses: actions/setup-dotnet@v3 with: dotnet-version: '6.0.x' dotnet-quality: 'preview' - run: dotnet build &lt;my project&gt; </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://redirect.github.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://redirect.github.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://redirect.github.com/actions/setup-dotnet/issues/251">#251</a> The problem with out of support .NET version warnings was solved in <a href="https://redirect.github.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> <h2>Add support for Windows-arm</h2> <p>In scope of this release we <a href="https://redirect.github.com/actions/setup-dotnet/pull/320">add support for Windows-arm</a>. Besides, we change getInput to <a href="https://redirect.github.com/actions/setup-dotnet/pull/250">getBooleanInput</a> for include-prerelease.</p> <h2>Package updates, support for global json file in a subdirectory, installer scripts updates</h2> <p>This release includes the following PRs:</p> <ul> <li>Adding support for the <code>global-json-file</code> input: <a href="https://redirect.github.com/actions/setup-dotnet/issues/276">#276</a> Example of usage: <pre lang="yaml"><code>- uses: actions/setup-dotnet@v2 with: global-json-file: csharp/global.json - run: dotnet build &lt;my project&gt; working-directory: csharp </code></pre> </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/607fce577a46308457984d59e4954e075820f10a"><code>607fce5</code></a> Update the link to the .Net Core releases index file (<a href="https://redirect.github.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://redirect.github.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://redirect.github.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://redirect.github.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/v2...v3">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=2&new-version=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) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dylan Smith <dylanfromwinnipeg@gmail.com>
1 parent bf801a9 commit 0e9775c

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
config-file: ./.github/codeql/codeql-config.yml
3232

3333
- name: Setup .NET
34-
uses: actions/setup-dotnet@v2
34+
uses: actions/setup-dotnet@v3
3535
with:
3636
dotnet-version: 6.0.x
3737

@@ -101,7 +101,7 @@ jobs:
101101
- uses: actions/checkout@v3
102102

103103
- name: Setup .NET
104-
uses: actions/setup-dotnet@v2
104+
uses: actions/setup-dotnet@v3
105105
with:
106106
dotnet-version: 6.0.x
107107

@@ -158,7 +158,7 @@ jobs:
158158
- uses: actions/checkout@v3
159159

160160
- name: Setup .NET
161-
uses: actions/setup-dotnet@v2
161+
uses: actions/setup-dotnet@v3
162162
with:
163163
dotnet-version: 6.0.x
164164

@@ -304,7 +304,7 @@ jobs:
304304
}
305305
306306
- name: Setup .NET
307-
uses: actions/setup-dotnet@v2
307+
uses: actions/setup-dotnet@v3
308308
with:
309309
dotnet-version: 6.0.x
310310

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v3
1919

2020
- name: Setup .NET
21-
uses: actions/setup-dotnet@v2
21+
uses: actions/setup-dotnet@v3
2222
with:
2323
dotnet-version: 6.0.x
2424

@@ -83,7 +83,7 @@ jobs:
8383
echo "PR_SHA=$(echo $prsha)" >> $GITHUB_ENV
8484
8585
- name: Setup .NET
86-
uses: actions/setup-dotnet@v2
86+
uses: actions/setup-dotnet@v3
8787
with:
8888
dotnet-version: 6.0.x
8989

global.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sdk": {
3+
"version": "6.0.408",
4+
"rollForward": "latestFeature"
5+
}
6+
}

0 commit comments

Comments
 (0)