1 parent 46d2ded commit 04542c7Copy full SHA for 04542c7
1 file changed
.github/workflows/test.yml
@@ -182,6 +182,14 @@ jobs:
182
- uses: swiftwasm/setup-swiftwasm@v2
183
id: setup-wasm32-unknown-wasip1-threads
184
with: { target: wasm32-unknown-wasip1-threads }
185
+ - uses: actions/cache@v4
186
+ with:
187
+ path: |
188
+ Examples/${{ matrix.example }}/.build
189
+ ~/.cache/org.swift.swiftpm
190
+ key: ex-${{ matrix.example }}-${{ hashFiles('.github/workflows/test.yml', format('Examples/{0}/Package.resolved', matrix.example)) }}
191
+ restore-keys: |
192
+ ex-${{ matrix.example }}-
193
# build.sh resolves the package relative to the working directory, so run it
194
# from the example directory (mirroring Utilities/build-examples.sh's `cd`).
195
- run: ./build.sh release
0 commit comments