3838 STAINLESS_ORG : YOUR_ORG
3939 STAINLESS_PROJECT : YOUR_PROJECT
4040 OAS_PATH : YOUR_OAS_PATH
41- COMMIT_MESSAGE : ${{ github.event.pull_request.title }}
4241
4342jobs :
4443 preview :
@@ -54,13 +53,12 @@ jobs:
5453 fetch-depth : 2
5554
5655 - name : Run preview builds
57- uses : stainless-api/build-sdk- action/preview@3fa5f068d05f51899b2903965e0ec395743d005f
56+ uses : stainless-api/upload-openapi-spec- action/preview@v1
5857 with :
5958 stainless_api_key : ${{ secrets.STAINLESS_API_KEY }}
6059 org : ${{ env.STAINLESS_ORG }}
6160 project : ${{ env.STAINLESS_PROJECT }}
6261 oas_path : ${{ env.OAS_PATH }}
63- commit_message : ${{ env.COMMIT_MESSAGE }}
6462
6563 merge :
6664 if : github.event.action == 'closed' && github.event.pull_request.merged == true
@@ -75,13 +73,12 @@ jobs:
7573 fetch-depth : 2
7674
7775 - name : Run merge build
78- uses : stainless-api/build-sdk- action/merge@3fa5f068d05f51899b2903965e0ec395743d005f
76+ uses : stainless-api/upload-openapi-spec- action/merge@v1
7977 with :
8078 stainless_api_key : ${{ secrets.STAINLESS_API_KEY }}
8179 org : ${{ env.STAINLESS_ORG }}
8280 project : ${{ env.STAINLESS_PROJECT }}
8381 oas_path : ${{ env.OAS_PATH }}
84- commit_message : ${{ env.COMMIT_MESSAGE }}
8582` ` `
8683</details>
8784
@@ -98,16 +95,17 @@ and integration with docs platforms, see the [examples directory](./examples).
9895
9996This repository provides three GitHub actions.
10097
101- - ` stainless-api/build-sdk-action`: Build SDKs for a Stainless project. For
102- information about the input parameters, see the [action definition](./action.yml).
98+ - ` stainless-api/upload-openapi-spec-action`: Build SDKs for a Stainless
99+ project. For information about the input parameters, see the [action
100+ definition](./action.yml).
103101
104- - `stainless-api/build-sdk- action/preview` : Preview changes to SDKs introduced
105- by a pull request. For information about the input parameters, see the
106- [action definition](./preview/action.yml).
102+ - `stainless-api/upload-openapi-spec- action/preview` : Preview changes to SDKs
103+ introduced by a pull request. For information about the input parameters, see
104+ the [action definition](./preview/action.yml).
107105
108- - `stainless-api/build-sdk- action/merge` : Merge changes to SDKs from a pull
109- request. For information about the input parameters, see the
110- [action definition](./merge/action.yml).
106+ - `stainless-api/upload-openapi-spec- action/merge` : Merge changes to SDKs from
107+ a pull request. For information about the input parameters, see the [action
108+ definition](./merge/action.yml).
111109
112110# ## Workflow permissions
113111
0 commit comments