File tree Expand file tree Collapse file tree 4 files changed +27
-2
lines changed
Expand file tree Collapse file tree 4 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 3030 set_version : ${{ github.event.inputs.set_version }}
3131 secrets :
3232 github_access_token : ${{ secrets.GITHUB_TOKEN }}
33+ nuget_api_key : ${{ secrets.NUGET_API_KEY }}
3334 speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change 1+ name : Publish
2+ permissions :
3+ checks : write
4+ contents : write
5+ pull-requests : write
6+ statuses : write
7+ id-token : write
8+ " on " :
9+ push :
10+ branches :
11+ - main
12+ paths :
13+ - .speakeasy/gen.lock
14+ workflow_dispatch : {}
15+ jobs :
16+ publish :
17+ uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
18+ with :
19+ target : stack-one
20+ secrets :
21+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
22+ nuget_api_key : ${{ secrets.NUGET_API_KEY }}
23+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ csharp:
3030 defaultErrorName : APIException
3131 disableNamespacePascalCasingApr2024 : true
3232 dotnetVersion : net8.0
33- enableSourceLink : false
3433 flattenGlobalSecurity : true
3534 flatteningOrder : parameters-first
3635 imports :
@@ -41,7 +40,6 @@ csharp:
4140 operations : Models/Requests
4241 shared : Models/Components
4342 webhooks : Models/Webhooks
44- includeDebugSymbols : false
4543 inputModelSuffix : input
4644 maxMethodParams : 4
4745 methodArguments : infer-optional-args
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ targets:
2121 stack-one :
2222 target : csharp
2323 source : StackOne
24+ publish :
25+ nuget :
26+ apiKey : $nuget_api_key
2427 codeSamples :
2528 registry :
2629 location : registry.speakeasyapi.dev/stackone/stackone/stack-one-csharp-code-samples
You can’t perform that action at this time.
0 commit comments