Skip to content

Commit 3fc8ff8

Browse files
committed
update workflow using speakeasy configure publish
1 parent eba8c33 commit 3fc8ff8

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

.github/workflows/sdk_generation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Generate
2-
on:
2+
"on":
33
workflow_dispatch:
44
inputs:
55
force:

.github/workflows/sdk_publish.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
name: Publish
2-
permissions:
3-
checks: write
4-
contents: write
5-
pull-requests: write
6-
statuses: write
7-
on:
8-
workflow_dispatch:
2+
"on":
93
push:
104
branches:
115
- main

.speakeasy/workflow.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
workflowVersion: 1.0.0
2-
speakeasyVersion: latest
32
sources:
43
speakeasy:
54
inputs:
65
- location: https://docs.speakeasyapi.dev/openapi.yaml
7-
registry:
8-
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/speakeasy
96
targets:
107
speakeasy-client-sdk-csharp:
118
target: csharp
129
source: speakeasy
10+
publish:
11+
nuget:
12+
apiKey: $nuget_api_key

0 commit comments

Comments
 (0)