Skip to content

Commit 41e5ec1

Browse files
committed
CI: migrate to .NET 7 SDK
1 parent 4ff4145 commit 41e5ec1

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,7 @@ jobs:
129129
- name: Set up .NET SDK
130130
uses: actions/setup-dotnet@v1
131131
with:
132-
dotnet-version: |
133-
2.2.x
134-
6.0.x
132+
dotnet-version: '7.0.x'
135133
- name: Pack NuGet
136134
shell: pwsh
137135
run: dotnet pack -p:PackageVersion=${{ env.PACKAGE_VERSION_BASE }} --output build
@@ -172,9 +170,7 @@ jobs:
172170
- name: Set up .NET SDK
173171
uses: actions/setup-dotnet@v1
174172
with:
175-
dotnet-version: |
176-
2.2.x
177-
6.0.x
173+
dotnet-version: '7.0.x'
178174
- name: Pack NuGet
179175
shell: pwsh
180176
run: dotnet pack -p:PackageVersion=${{ env.PACKAGE_VERSION_BASE }} --output build
@@ -229,9 +225,7 @@ jobs:
229225
- name: Set up .NET SDK
230226
uses: actions/setup-dotnet@v1
231227
with:
232-
dotnet-version: |
233-
2.2.x
234-
6.0.x
228+
dotnet-version: '7.0.x'
235229
- name: Pack NuGet
236230
shell: pwsh
237231
run: dotnet pack -p:PackageVersion=${{ env.PACKAGE_VERSION_BASE }} --output build
@@ -291,7 +285,7 @@ jobs:
291285
- name: Set up .NET SDK
292286
uses: actions/setup-dotnet@v1
293287
with:
294-
dotnet-version: '6.0.x'
288+
dotnet-version: '7.0.x'
295289

296290
- name: Read version from ref
297291
id: version

tdlib.native.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.Build.NoTargets/3.4.0">
22
<PropertyGroup>
3-
<TargetFramework>net6.0</TargetFramework> <!-- this is a dummy value -->
3+
<TargetFramework>net7.0</TargetFramework> <!-- this is a dummy value -->
44
<NuspecFile>$(MSBuildThisFileDirectory)\tdlib.native.nuspec</NuspecFile>
55
<NuspecProperties>version=$(PackageVersion)</NuspecProperties>
66
</PropertyGroup>

0 commit comments

Comments
 (0)