Skip to content

Commit d98f1df

Browse files
authored
Block new buggy .NET SDK (#1678)
* Block new buggy .NET SDK * Remove SourceLink NuGet reference (included in .NET 8 SDK)
1 parent 3e63c4c commit d98f1df

File tree

5 files changed

+12
-13
lines changed

5 files changed

+12
-13
lines changed

.github/workflows/build.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ jobs:
4545
- name: Setup .NET
4646
uses: actions/setup-dotnet@v4
4747
with:
48+
# Block buggy release from February 11, 2025
4849
dotnet-version: |
49-
8.0.x
50-
9.0.x
50+
8.0.309
51+
9.0.103
5152
- name: Show installed versions
5253
shell: pwsh
5354
run: |
@@ -163,9 +164,10 @@ jobs:
163164
- name: Setup .NET
164165
uses: actions/setup-dotnet@v4
165166
with:
167+
# Block buggy release from February 11, 2025
166168
dotnet-version: |
167-
8.0.x
168-
9.0.x
169+
8.0.309
170+
9.0.103
169171
- name: Git checkout
170172
uses: actions/checkout@v4
171173
- name: Restore tools
@@ -218,9 +220,10 @@ jobs:
218220
- name: Setup .NET
219221
uses: actions/setup-dotnet@v4
220222
with:
223+
# Block buggy release from February 11, 2025
221224
dotnet-version: |
222-
8.0.x
223-
9.0.x
225+
8.0.309
226+
9.0.103
224227
- name: Git checkout
225228
uses: actions/checkout@v4
226229
with:

.github/workflows/codeql.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
- name: Setup .NET
2727
uses: actions/setup-dotnet@v4
2828
with:
29+
# Block buggy release from February 11, 2025
2930
dotnet-version: |
30-
8.0.x
31-
9.0.x
31+
8.0.309
32+
9.0.103
3233
- name: Git checkout
3334
uses: actions/checkout@v4
3435
- name: Initialize CodeQL

package-versions.props

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
<FluentAssertionsVersion>7.0.*</FluentAssertionsVersion>
1515
<GitHubActionsTestLoggerVersion>2.4.*</GitHubActionsTestLoggerVersion>
1616
<InheritDocVersion>2.0.*</InheritDocVersion>
17-
<SourceLinkVersion>8.0.*</SourceLinkVersion>
1817
<SystemTextJsonVersion>9.0.*</SystemTextJsonVersion>
1918
<TestSdkVersion>17.12.*</TestSdkVersion>
2019
<XunitVersion>2.9.*</XunitVersion>

src/JsonApiDotNetCore.Annotations/JsonApiDotNetCore.Annotations.csproj

-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
<PackageIcon>package-icon.png</PackageIcon>
2121
<PackageReadmeFile>PackageReadme.md</PackageReadmeFile>
2222
<PublishRepositoryUrl>true</PublishRepositoryUrl>
23-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2423
<DebugType>embedded</DebugType>
2524
</PropertyGroup>
2625

@@ -47,7 +46,6 @@
4746
</ItemGroup>
4847

4948
<ItemGroup>
50-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="$(SourceLinkVersion)" PrivateAssets="All" />
5149
<PackageReference Include="SauceControl.InheritDoc" Version="$(InheritDocVersion)" PrivateAssets="All" />
5250
</ItemGroup>
5351
</Project>

src/JsonApiDotNetCore/JsonApiDotNetCore.csproj

-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
<PackageIcon>package-icon.png</PackageIcon>
2020
<PackageReadmeFile>PackageReadme.md</PackageReadmeFile>
2121
<PublishRepositoryUrl>true</PublishRepositoryUrl>
22-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2322
<DebugType>embedded</DebugType>
2423
</PropertyGroup>
2524

@@ -42,7 +41,6 @@
4241
<PackageReference Include="Humanizer.Core" Version="$(HumanizerFrozenVersion)" />
4342
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="$(EntityFrameworkCoreFrozenVersion)" />
4443
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="$(EntityFrameworkCoreFrozenVersion)" />
45-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="$(SourceLinkVersion)" PrivateAssets="All" />
4644
<PackageReference Include="SauceControl.InheritDoc" Version="$(InheritDocVersion)" PrivateAssets="All" />
4745
</ItemGroup>
4846
</Project>

0 commit comments

Comments
 (0)