2525 yarn=3
2626
2727 - name : Setup pip cache
28- uses : actions/cache@v4
28+ uses : actions/cache@v2
2929 with :
3030 path : ~/.cache/pip
3131 key : pip-3.9-${{ hashFiles('package.json') }}
3838 run : echo "::set-output name=dir::$(yarn cache dir)"
3939
4040 - name : Setup yarn cache
41- uses : actions/cache@v4
41+ uses : actions/cache@v2
4242 id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
4343 with :
4444 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
4747 yarn-
4848
4949 - name : Setup OpenCascade build cache
50- uses : actions/cache@v4
50+ uses : actions/cache@v2
5151 with :
5252 path : |
5353 packages/opencascade/lib/jupytercad.opencascade.js
8484 python/jupytercad_core/dist/jupytercad*
8585 python/jupytercad_lab/dist/jupytercad*
8686 python/jupytercad_app/dist/jupytercad*
87- python/jupytercad/dist/jupytercad*
8887 if-no-files-found : error
8988
9089 test_isolated :
@@ -149,7 +148,7 @@ jobs:
149148 shell : bash -l {0}
150149 run : |
151150 set -eux
152- cp ./jupytercad_core/dist/jupytercad*.whl ./jupytercad_lab/dist/jupytercad*.whl ./jupytercad_app/dist/jupytercad*.whl ./jupytercad/dist/jupytercad*.whl .
151+ cp ./jupytercad_core/dist/jupytercad*.whl ./jupytercad_lab/dist/jupytercad*.whl ./jupytercad_app/dist/jupytercad*.whl .
153152 python -m pip install jupytercad*.whl
154153
155154 - name : Install dependencies
@@ -160,7 +159,7 @@ jobs:
160159 run : jlpm install
161160
162161 - name : Set up browser cache
163- uses : actions/cache@v4
162+ uses : actions/cache@v3
164163 with :
165164 path : |
166165 ${{ github.workspace }}/pw-browsers
@@ -222,7 +221,6 @@ jobs:
222221 pip
223222 jupyterlite-core
224223 jupyterlite-xeus
225- jupyter_server
226224
227225 - name : Download extension package
228226 uses : actions/download-artifact@v4
@@ -233,16 +231,15 @@ jobs:
233231 shell : bash -l {0}
234232 run : |
235233 set -eux
236- cp ./jupytercad_core/dist/jupytercad*.whl jupytercad_core-0.0.1-py3-none-any.whl
237- cp ./jupytercad_lab/dist/jupytercad*.whl jupytercad_lab-0.0.1-py3-none-any.whl
238- cp ./jupytercad_app/dist/jupytercad*.whl jupytercad_app-0.0.1-py3-none-any.whl
234+ cp ./jupytercad_core/dist/jupytercad*.whl ./jupytercad_lab/dist/jupytercad*.whl ./jupytercad_app/dist/jupytercad*.whl .
235+ python -m pip install jupytercad*.whl
239236
240237 - name : Build the lite site
241238 shell : bash -l {0}
242239 working-directory : lite
243240 run : |
244241 set -eux
245- mkdir -p content && cp ../examples/*.jcad ../examples/*.STEP ../examples/*.stl ../examples/*.ipynb . /content
242+ mkdir -p content && cp ../examples/*.jcad ../examples/*.STEP ../examples/*.stl ./content
246243 jupyter lite build --contents content --output-dir dist
247244
248245 - name : Upload github-pages artifact
0 commit comments