Skip to content

Commit 4182e52

Browse files
committed
add workflow
1 parent 1b107a4 commit 4182e52

File tree

427 files changed

+6790
-3713
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

427 files changed

+6790
-3713
lines changed

.github/workflows/sdk_generation.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ jobs:
2222
speakeasy_version: latest
2323
secrets:
2424
github_access_token: ${{ secrets.GITHUB_TOKEN }}
25+
pypi_token: ${{ secrets.PYPI_TOKEN }}
2526
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/sdk_publish.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
- accounting/.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: accounting-py
20+
secrets:
21+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
22+
pypi_token: ${{ secrets.PYPI_TOKEN }}
23+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ speakeasyVersion: 1.523.2
22
sources:
33
accounting:
44
sourceNamespace: apideck-accounting-only-oas
5-
sourceRevisionDigest: sha256:790921df4b4c07660c58472aa72241461226c87b4aa48bdc0221acb599155c4e
6-
sourceBlobDigest: sha256:fb628addea53bafff1ec0b2cc6c97b98982fcb845d6957859a3b1614bbf7fcae
5+
sourceRevisionDigest: sha256:90d075b4de4323fc8e1c8b2b2404ac8b48a366b7457fe2adff7a52199afd4c25
6+
sourceBlobDigest: sha256:6d730e4fc04f1f82cc3401f99edab1f888d699a469e32a9ad951a53be8913b0e
77
tags:
88
- latest
9-
- 10.13.0
9+
- 10.12.4
1010
lending:
1111
sourceNamespace: lending
1212
sourceRevisionDigest: sha256:178885971cf1c04155e742359cad4b10d0eba3a8d7de8e7a64d2e33a0678995d
@@ -18,10 +18,10 @@ targets:
1818
accounting-py:
1919
source: accounting
2020
sourceNamespace: apideck-accounting-only-oas
21-
sourceRevisionDigest: sha256:790921df4b4c07660c58472aa72241461226c87b4aa48bdc0221acb599155c4e
22-
sourceBlobDigest: sha256:fb628addea53bafff1ec0b2cc6c97b98982fcb845d6957859a3b1614bbf7fcae
21+
sourceRevisionDigest: sha256:90d075b4de4323fc8e1c8b2b2404ac8b48a366b7457fe2adff7a52199afd4c25
22+
sourceBlobDigest: sha256:6d730e4fc04f1f82cc3401f99edab1f888d699a469e32a9ad951a53be8913b0e
2323
codeSamplesNamespace: apideck-accounting-only-oas-python-code-samples
24-
codeSamplesRevisionDigest: sha256:31107f89c8ef3dede5152d335480f4ef53d7d72cdea52ae03984a2268946a692
24+
codeSamplesRevisionDigest: sha256:f2ed0e1606ed28e17ae9a673a68b7b8b190caefab1784c501b0fe80b9d9bc31e
2525
accounting-ts:
2626
source: accounting
2727
sourceNamespace: accounting
@@ -38,7 +38,7 @@ workflow:
3838
sources:
3939
accounting:
4040
inputs:
41-
- location: speakeasy-spec.yml
41+
- location: https://ci-spec-unify.s3.eu-central-1.amazonaws.com/speakeasy-spec.yml
4242
overlays:
4343
- location: ./overlays/accounting-vault-overlay.yml
4444
transformations:

.speakeasy/workflow.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ targets:
1616
target: python
1717
source: accounting
1818
output: ./accounting
19+
publish:
20+
pypi:
21+
token: $pypi_token
1922
codeSamples:
2023
registry:
2124
location: registry.speakeasyapi.dev/apideck-k2o/apideck/apideck-accounting-only-oas-python-code-samples

0 commit comments

Comments
 (0)