Skip to content

Commit 042fad1

Browse files
committed
Try running in a container
1 parent d5ad5bb commit 042fad1

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.github/workflows/speakeasy_sdk_generation.yml

+12-13
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@ permissions:
1616
jobs:
1717
generate:
1818
runs-on: ubuntu-latest
19-
steps:
20-
- name: Install build dependencies
21-
run: sudo apt-get install python3-dev gcc
22-
- name: Generate SDK
23-
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
24-
with:
25-
force: ${{ github.event.inputs.force }}
26-
mode: pr
27-
speakeasy_version: latest
28-
secrets:
29-
github_access_token: ${{ secrets.GITHUB_TOKEN }}
30-
pypi_token: ${{ secrets.PYPI_TOKEN }}
31-
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
19+
container:
20+
image: python:3.11-slim
21+
name: Generate SDK
22+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
23+
with:
24+
force: ${{ github.event.inputs.force }}
25+
mode: pr
26+
speakeasy_version: latest
27+
secrets:
28+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
29+
pypi_token: ${{ secrets.PYPI_TOKEN }}
30+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

0 commit comments

Comments
 (0)