Skip to content

Commit b95f6a5

Browse files
authored
[EngSys] Update .NET SDK version (openai#479)
* Moving the repository version of the .NET SDK to the latest.
1 parent 5f13e29 commit b95f6a5

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed

.github/workflows/live-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
version_suffix_args: ${{ format('/p:VersionSuffix="alpha.{0}"', github.run_number) }}
1818
steps:
1919
- name: Setup .NET
20+
uses: actions/setup-dotnet@v3
21+
with:
22+
dotnet-version: '9.x'
23+
24+
- name: Setup .NET 8
2025
uses: actions/setup-dotnet@v3
2126
with:
2227
dotnet-version: '8.x'

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,18 @@ on:
1111
types: [opened, reopened, synchronize]
1212

1313
jobs:
14-
build: # Test, pack and publish the Open AI nuget package as a build artifact
14+
build: # Test, pack and publish the Open AI nuget package as a build artifact
1515
name: Build
1616
runs-on: ubuntu-latest
1717
env:
1818
version_suffix_args: ${{ format('/p:VersionSuffix="alpha.{0}"', github.run_number) }}
1919
steps:
2020
- name: Setup .NET
21+
uses: actions/setup-dotnet@v3
22+
with:
23+
dotnet-version: '9.x'
24+
25+
- name: Setup .NET 8
2126
uses: actions/setup-dotnet@v3
2227
with:
2328
dotnet-version: '8.x'

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ jobs:
2323
contents: write
2424
steps:
2525
- name: Setup .NET
26+
uses: actions/setup-dotnet@v3
27+
with:
28+
dotnet-version: '9.x'
29+
30+
- name: Setup .NET 8
2631
uses: actions/setup-dotnet@v3
2732
with:
2833
dotnet-version: '8.x'

examples/OpenAI.Examples.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
4-
3+
<TargetFramework>net9.0</TargetFramework>
4+
55
<!-- CS1591 - Ignore XML doc comments on test types and members-->
66
<NoWarn>$(NoWarn);CS1591;</NoWarn>
77

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.100",
3+
"version": "9.0.205",
44
"rollForward": "feature"
55
}
66
}

tests/OpenAI.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
44

55
<!--Ignore XML doc comments on test types and members-->
66
<NoWarn>$(NoWarn);CS1591</NoWarn>

0 commit comments

Comments
 (0)