diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cd0fbd3c..6bcc3355 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | - 7.0.x + 8.0.x - name: Build run: | dotnet build app/GHelper.sln diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0159dd9e..4a161ac6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,13 +18,13 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | - 7.0.x + 8.0.x - name: Publish run: | dotnet publish app/GHelper.sln --configuration Release --runtime win-x64 -p:PublishSingleFile=true --no-self-contained - powershell Compress-Archive app/bin/x64/Release/net7.0-windows/win-x64/publish/GHelper.exe GHelper.zip + powershell Compress-Archive app/bin/x64/Release/net8.0-windows/win-x64/publish/GHelper.exe GHelper.zip - name: Upload env: GH_TOKEN: ${{ github.token }} run: | - gh release upload ${{ github.ref_name }} app/bin/x64/Release/net7.0-windows/win-x64/publish/GHelper.exe GHelper.zip + gh release upload ${{ github.ref_name }} app/bin/x64/Release/net8.0-windows/win-x64/publish/GHelper.exe GHelper.zip diff --git a/app/GHelper.csproj b/app/GHelper.csproj index 6a4fbea9..d23e28a0 100644 --- a/app/GHelper.csproj +++ b/app/GHelper.csproj @@ -2,7 +2,7 @@ WinExe - net7.0-windows + net8.0-windows enable True enable @@ -15,7 +15,7 @@ AnyCPU False True - 0.178 + 0.179 diff --git a/app/global.json b/app/global.json index cb00d84f..7a73a41b 100644 --- a/app/global.json +++ b/app/global.json @@ -1,5 +1,2 @@ { - "sdk": { - "version": "7.0.406" - } } \ No newline at end of file