Skip to content

Commit d21dcf9

Browse files
committed
Set openapi spec dest
1 parent 3741a13 commit d21dcf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate_sdk_code.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
uses: actions/download-artifact@v4
5555
with:
5656
name: ${{ github.event.client_payload.openapi_spec }}
57-
path: ${{ runner.temp }}/openapi.yml
57+
path: ${{ runner.temp }}/openapispec
5858
repository: databox/data-link
5959
github-token: ${{ secrets.PAT_APPROVE_PR }}
6060
run-id: ${{ github.event.client_payload.run_id }}
@@ -70,7 +70,7 @@ jobs:
7070
7171
- name: Generate SDK
7272
run: |
73-
java -jar ${{ runner.temp }}/openapi-generator-cli.jar generate -i ${{ runner.temp }}/openapi.yml -g csharp -o ./src -c ${{ runner.temp }}/${{ env.CONFIG_FILE }}
73+
java -jar ${{ runner.temp }}/openapi-generator-cli.jar generate -i ${{ runner.temp }}/openapispec/${{ github.event.client_payload.openapi_spec }} -g csharp -o ./src -c ${{ runner.temp }}/${{ env.CONFIG_FILE }}
7474
7575
- name: Create Pull Request
7676
id: cpr

0 commit comments

Comments
 (0)