5555
5656# ------------------------------------------
5757# ------------------------------------------
58- # Test client-test-data
5958 client-test-data-tests :
60- name : Test client-test-data
59+ name : Run client-test-data
6160 runs-on : ubuntu-latest
6261 steps :
6362 - name : checkout source
8685 uses : coursier/cache-action@v6
8786 - name : generate api-client-test-data
8887 run : make client-test-data
89- - name : Cleanup before cache
88+ - name : upload client-test-data
89+ uses : actions/upload-artifact@v3
90+ with :
91+ name : client-test-data-zip
92+ path : client-test-data.zip
93+ retention-days : 1
94+ - name : cleanup before cache
9095 shell : bash
9196 run : |
9297 rm -rf "$HOME/.ivy2/local" || true
@@ -121,7 +126,7 @@ jobs:
121126 mkdir -p ~/.docker/cli-plugins/
122127 curl -SL https://github.com/docker/compose/releases/download/v2.2.3/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
123128 chmod +x ~/.docker/cli-plugins/docker-compose
124- - name : Install dependencies
129+ - name : install dependencies
125130 run : |
126131 sudo apt-get install ca-certificates-java expect
127132 - name : Coursier cache
@@ -133,7 +138,7 @@ jobs:
133138 uses : jwalton/gh-docker-logs@v1
134139 with :
135140 shell : ' /bin/sh'
136- - name : Cleanup before cache
141+ - name : cleanup before cache
137142 shell : bash
138143 run : |
139144 rm -rf "$HOME/.ivy2/local" || true
@@ -155,7 +160,7 @@ jobs:
155160 mkdir -p ~/.docker/cli-plugins/
156161 curl -SL https://github.com/docker/compose/releases/download/v2.2.3/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
157162 chmod +x ~/.docker/cli-plugins/docker-compose
158- - name : Install dependencies
163+ - name : install dependencies
159164 run : |
160165 python -m pip install --upgrade pip
161166 pip install -r docs/requirements.txt
@@ -218,14 +223,16 @@ jobs:
218223 chmod +x ~/.docker/cli-plugins/docker-compose
219224 - name : install requirements
220225 run : sudo apt-get install ca-certificates-java expect unzip
221- - name : Install dependencies
226+ - name : install dependencies
222227 run : |
223228 python -m pip install --upgrade pip
224229 pip install -r docs/requirements.txt
225230 npm install --global typedoc
226231 sudo apt-get install graphviz
227- - name : generate api-client-test-data
228- run : make client-test-data
232+ - name : download client-test-data
233+ uses : actions/download-artifact@v3
234+ with :
235+ name : client-test-data-zip
229236 - name : add api-client-test-data to release assets
230237 uses : svenstaro/upload-release-action@v2
231238 with :
0 commit comments