Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed May 16, 2024
1 parent e5a8879 commit 67561a9
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 11 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,24 @@ jobs:
- name: Build Release
run: dotnet build src -c Release /p:ContinuousIntegrationBuild=true


publish:
needs: [compile]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.404

- name: Publish
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: |
dotnet pack src -c Release
dotnet nuget push src/Schematic.Client/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source "nuget.org"
20 changes: 10 additions & 10 deletions src/Schematic.Client.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Schematic.Client", "Schematic.Client\Schematic.Client.csproj", "{56A0A70D-FC1E-4E56-AD82-28480D7F80FC}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Schematic.Client", "Schematic.Client\Schematic.Client.csproj", "{19418BB1-183A-4025-8814-83D11ACA9A22}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Schematic.Client.Test", "Schematic.Client.Test\Schematic.Client.Test.csproj", "{24AB9957-C74D-4951-A7E8-F59A577954BA}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Schematic.Client.Test", "Schematic.Client.Test\Schematic.Client.Test.csproj", "{B5236F9D-46BB-4D17-AB27-6A63A0EF31A6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -16,13 +16,13 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{56A0A70D-FC1E-4E56-AD82-28480D7F80FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{56A0A70D-FC1E-4E56-AD82-28480D7F80FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{56A0A70D-FC1E-4E56-AD82-28480D7F80FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{56A0A70D-FC1E-4E56-AD82-28480D7F80FC}.Release|Any CPU.Build.0 = Release|Any CPU
{24AB9957-C74D-4951-A7E8-F59A577954BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{24AB9957-C74D-4951-A7E8-F59A577954BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{24AB9957-C74D-4951-A7E8-F59A577954BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{24AB9957-C74D-4951-A7E8-F59A577954BA}.Release|Any CPU.Build.0 = Release|Any CPU
{19418BB1-183A-4025-8814-83D11ACA9A22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19418BB1-183A-4025-8814-83D11ACA9A22}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19418BB1-183A-4025-8814-83D11ACA9A22}.Release|Any CPU.ActiveCfg = Release|Any CPU
{19418BB1-183A-4025-8814-83D11ACA9A22}.Release|Any CPU.Build.0 = Release|Any CPU
{B5236F9D-46BB-4D17-AB27-6A63A0EF31A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B5236F9D-46BB-4D17-AB27-6A63A0EF31A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B5236F9D-46BB-4D17-AB27-6A63A0EF31A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B5236F9D-46BB-4D17-AB27-6A63A0EF31A6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion src/Schematic.Client/Schematic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public Schematic(string apiKey = null, ClientOptions clientOptions = null)
{ "X-Schematic-Api-Key", apiKey },
{ "X-Fern-Language", "C#" },
{ "X-Fern-SDK-Name", "schematic_fern_api_sdk" },
{ "X-Fern-SDK-Version", "0.0.8" },
{ "X-Fern-SDK-Version", "0.0.9" },
},
clientOptions ?? new ClientOptions()
);
Expand Down

0 comments on commit 67561a9

Please sign in to comment.