File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ jobs:
151
151
if : ${{ steps.build-cache.outputs.cache-hit == 'true' }}
152
152
- name : Build ${{ matrix.target }} installable archive on Docker container
153
153
if : ${{ matrix.container != null }}
154
+ timeout-minutes : 300 # Exit before 6 hours limit to allow cache upload
154
155
run : |
155
156
docker volume create oss-swift-package
156
157
docker run --name swiftwasm-ci-buildbot \
@@ -163,12 +164,17 @@ jobs:
163
164
-v oss-swift-package:/home/build-user \
164
165
${{ matrix.container }}
165
166
docker exec swiftwasm-ci-buildbot /bin/bash -lc 'env; cp -r /source/* /home/build-user/; ./swift/utils/webassembly/ci.sh'
167
+ docker cp swiftwasm-ci-buildbot:/home/build-user/swift-wasm-${{ env.TOOLCHAIN_CHANNEL }}-SNAPSHOT-${{ matrix.target }}.tar.gz .
168
+
169
+ - name : Extract build-cache from Docker container
170
+ if : ${{ matrix.container != null && always() }}
171
+ run : |
166
172
rm -rf ${{ github.workspace }}/build-cache
167
173
docker cp swiftwasm-ci-buildbot:/home/build-user/build-cache ${{ github.workspace }}/build-cache
168
- docker cp swiftwasm-ci-buildbot:/home/build-user/swift-wasm-${{ env.TOOLCHAIN_CHANNEL }}-SNAPSHOT-${{ matrix.target }}.tar.gz .
169
174
170
175
- name : Build ${{ matrix.target }} installable archive
171
176
if : ${{ matrix.container == null }}
177
+ timeout-minutes : 300 # Exit before 6 hours limit to allow cache upload
172
178
env :
173
179
SKIP_XCODE_VERSION_CHECK : 1
174
180
run : |
You can’t perform that action at this time.
0 commit comments