diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1ac815..d1359d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.101 + dotnet-version: '8.0.x' - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.vscode/launch.json b/.vscode/launch.json index 32fd0b5..ee6cd1c 100644 --- a/.vscode/launch.json +++ b/.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}/AskGPT/bin/Debug/net7.0/AskGPT.dll", + "program": "${workspaceFolder}/AskGPT/bin/Debug/net8.0/AskGPT.dll", "args": ["how are you doing today?"], "cwd": "${workspaceFolder}/AskGPT", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console @@ -23,4 +23,4 @@ "request": "attach" } ] -} \ No newline at end of file +} diff --git a/AskGPT/AskGPT.csproj b/AskGPT/AskGPT.csproj index f5bd2fc..983c995 100644 --- a/AskGPT/AskGPT.csproj +++ b/AskGPT/AskGPT.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net7.0;net8.0 enable enable true diff --git a/README.md b/README.md index e3ff05d..4897527 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ ask what is the meaning of life ## Installation -1. [Install .NET 7](https://dotnet.microsoft.com/download/dotnet/7.0) +1. [Install .NET 8](https://dotnet.microsoft.com/download/dotnet/8.0) 1. Install the tool by running: `dotnet tool install -g AskGPT` 1. Create an API key at [https://platform.openai.com/account/api-keys](https://platform.openai.com/account/api-keys) 1. Create a file called `~/.config/AskGPT/apikey.txt` with your API key in it diff --git a/global.json b/global.json index bd9a9d4..4e144ac 100644 --- a/global.json +++ b/global.json @@ -1,5 +1,6 @@ { "sdk": { - "version": "7.0.101" + "version": "7.0.101", + "rollForward": "latestMajor" } -} \ No newline at end of file +}