Skip to content

Commit

Permalink
Remove .NET SDK 7
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed Aug 16, 2023
1 parent 007148b commit 511d189
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
with:
dotnet-version: |
6.0.x
7.0.x
- name: Get .NET information
run: dotnet --info
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/push-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
with:
dotnet-version: |
6.0.x
7.0.x
- name: Get .NET information
run: dotnet --info
Expand Down
4 changes: 2 additions & 2 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ else
fi

if which dotnet > /dev/null; then
if [ $(dotnet --version | cut -d. -f1) -lt 7 ]; then
echo "error(1): .NET SDK version $(dotnet --version) is too low; please install 7.0 or later"
if [ $(dotnet --version | cut -d. -f1) -lt 6 ]; then
echo "error(1): .NET SDK version $(dotnet --version) is too low; please install 6.0 or later"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion tools/builder/build.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<LangVersion>11.0</LangVersion>
<LangVersion>10.0</LangVersion>
<Nullable>enable</Nullable>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
Expand Down

0 comments on commit 511d189

Please sign in to comment.