update python-client-builder

This commit is contained in:
Ruben Fiszel
2022-11-03 08:32:43 +01:00
parent 34f5062cfa
commit 9ac671bee0
4 changed files with 12 additions and 5 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM nikolaik/python-nodejs:python3.11-nodejs19
RUN python3 -m pip install pipx poetry
RUN python3 -m pipx ensurepath
ENV PATH="/root/.local/bin:${PATH}"
ENV PATH="/usr/local/bin:${PATH}"
RUN pipx install openapi-python-client==0.11.6 --include-deps
+3 -3
View File
@@ -11,7 +11,9 @@ on:
jobs:
publish_pypi:
runs-on: [self-hosted, new]
runs-on: ubuntu-latest
container:
image: ghcr.io/windmill-labs/python-client-builder
steps:
- uses: actions/checkout@v3
- name: Upload python client
@@ -19,8 +21,6 @@ jobs:
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
cd python-client
export PATH=$PATH:/usr/local/bin
export PATH=$PATH:/root/.local/bin
./publish.sh
publish_lsp:
+1 -1
View File
@@ -1,4 +1,4 @@
openapi-deref.yaml
dist/
__pycache__/
openapi.yaml
windmill-api/
+1 -1
View File
@@ -20,4 +20,4 @@ dmypy.json
.idea/
/coverage.xml
/.coverage
/.coverage