File tree Expand file tree Collapse file tree 2 files changed +16
-24
lines changed Expand file tree Collapse file tree 2 files changed +16
-24
lines changed Original file line number Diff line number Diff line change @@ -60,18 +60,16 @@ jobs:
6060 tar xf wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz
6161 mv wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux /opt/wasi-sdk
6262
63- - name : Cache CPython
64- id : cache-cpython-wasi
65- uses : actions/cache@v4
66- with :
67- path : cpython/builddir/wasi
68- key : cpython-wasi-v1
69- enableCrossOsArchive : true
70-
7163 - name : Build
7264 shell : bash
7365 run : cargo build --release
7466
67+ - name : Upload CPython builddir
68+ uses : actions/upload-artifact@v4
69+ with :
70+ name : cpython-wasi
71+ path : cpython/builddir/wasi
72+
7573 release :
7674 name : Build and release
7775 needs : linux
@@ -195,12 +193,10 @@ jobs:
195193 run : echo "WASI_SDK_PATH=$(cygpath -m /tmp/wasi-sdk-${WASI_SDK_VERSION}.0-${{ matrix.config.wasiSDK }})" >> ${GITHUB_ENV}
196194
197195 - name : Restore CPython
198- id : cache-cpython-wasi
199- uses : actions/cache/restore@v4
196+ uses : actions/download-artifact@v5
200197 with :
198+ name : cpython-wasi
201199 path : cpython/builddir/wasi
202- key : cpython-wasi-v1
203- enableCrossOsArchive : true
204200
205201 - name : Build wheels
206202 uses : PyO3/maturin-action@v1
Original file line number Diff line number Diff line change @@ -58,18 +58,16 @@ jobs:
5858 tar xf wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz
5959 mv wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux /opt/wasi-sdk
6060
61- - name : Cache CPython
62- id : cache-cpython-wasi
63- uses : actions/cache@v4
64- with :
65- path : cpython/builddir/wasi
66- key : cpython-wasi-v1
67- enableCrossOsArchive : true
68-
6961 - name : Build
7062 shell : bash
7163 run : cargo build --release
7264
65+ - name : Upload CPython builddir
66+ uses : actions/upload-artifact@v4
67+ with :
68+ name : cpython-wasi
69+ path : cpython/builddir/wasi
70+
7371 test :
7472 name : Test
7573 needs : linux
@@ -125,12 +123,10 @@ jobs:
125123 run : echo "WASI_SDK_PATH=$(cygpath -m /tmp/wasi-sdk-${WASI_SDK_VERSION}.0-${{ matrix.config.wasiSDK }})" >> ${GITHUB_ENV}
126124
127125 - name : Restore CPython
128- id : cache-cpython-wasi
129- uses : actions/cache/restore@v4
126+ uses : actions/download-artifact@v5
130127 with :
128+ name : cpython-wasi
131129 path : cpython/builddir/wasi
132- key : cpython-wasi-v1
133- enableCrossOsArchive : true
134130
135131 - name : Lint
136132 shell : bash
You can’t perform that action at this time.
0 commit comments