From f91dc3ed96ccec88572b8710e86493dafe6aab75 Mon Sep 17 00:00:00 2001 From: waldekmastykarz Date: Wed, 15 Nov 2023 13:28:48 +0100 Subject: [PATCH] Updates build pipeline to .net8.0 --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/create-release.yml | 4 ++-- .github/workflows/dotnet.yml | 2 +- .vscode/launch.json | 4 ++-- dev-proxy/.vscode/launch.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c695a6e9..1cfdc18a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index f30c9f90..36761b77 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -21,13 +21,13 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Publish ${{ matrix.architecture }} run: dotnet publish ./dev-proxy/dev-proxy.csproj -c Release -p:PublishSingleFile=true -r ${{ matrix.architecture }} --self-contained -o ./${{ env.release }} - name: Build plugins run: dotnet build ./dev-proxy-plugins/dev-proxy-plugins.csproj -c Release -r ${{ matrix.architecture }} --no-self-contained - name: Add plugins to output - run: cp ./dev-proxy/bin/Release/net7.0/${{ matrix.architecture }}/plugins ./${{ env.release }} -r + run: cp ./dev-proxy/bin/Release/net8.0/${{ matrix.architecture }}/plugins ./${{ env.release }} -r - name: Remove unnecessary files run: | pushd diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index e8a0a459..4c84364f 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,7 +19,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Restore workloads run: dotnet workload restore - name: Restore dependencies diff --git a/.vscode/launch.json b/.vscode/launch.json index 1c50e1b4..d945e6d9 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,9 +10,9 @@ "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/dev-proxy/bin/Debug/net7.0/devproxy.dll", + "program": "${workspaceFolder}/dev-proxy/bin/Debug/net8.0/devproxy.dll", "args": [], - "cwd": "${workspaceFolder}/dev-proxy/bin/Debug/net7.0", + "cwd": "${workspaceFolder}/dev-proxy/bin/Debug/net8.0", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console "console": "integratedTerminal", "stopAtEntry": false, diff --git a/dev-proxy/.vscode/launch.json b/dev-proxy/.vscode/launch.json index 32db8373..f3dd68da 100644 --- a/dev-proxy/.vscode/launch.json +++ b/dev-proxy/.vscode/launch.json @@ -10,7 +10,7 @@ "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/bin/Debug/net7.0/dev-proxy.dll", + "program": "${workspaceFolder}/bin/Debug/net8.0/dev-proxy.dll", "args": [], "cwd": "${workspaceFolder}", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console