change dotnet 6

This commit is contained in:
Natlinux81
2023-06-28 17:52:59 +02:00
parent 31529614ab
commit 4992553907
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-dotnet@v1 - uses: actions/setup-dotnet@v1
with: with:
dotnet-version: 5.0.x dotnet-version: 6.0.x
- run: dotnet restore ${{ env.PROJECT_PATH}} - run: dotnet restore ${{ env.PROJECT_PATH}}
@@ -37,5 +37,5 @@ jobs:
- uses: csexton/release-asset-action@v2 - uses: csexton/release-asset-action@v2
with: with:
github-token: ${{ secrets.GITHUB_TOKEN}} github-token: ${{ secrets.GITHUB_TOKEN}}
pattern: MathColoringGame/bin/Release/net6.0-windows/win-x64/publish/*.exe pattern: MathColoringGame/obj/Release/net6.0-windows/win-x64/publish/*.exe
release-url: ${{ steps.create_release.outputs.upload_url }} release-url: ${{ steps.create_release.outputs.upload_url }}

View File

@@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework> <TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract> <IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract> <IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>