File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 4040 run : ./install-ucm.sh
4141 - name : Cache Unison codebase
4242 id : cache-unison-codebase
43+ if : ${{ !cancelled() && startsWith(matrix.ucm-release-version, 'release') }}
4344 uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
4445 with :
4546 path : unison-code
5152 CLOUD_CLIENT_VERSION : ${{ matrix.cloud-client-version }}
5253 UNISON_CLOUD_ACCESS_TOKEN : ${{ secrets.CLOUD_USER_ACCESS_TOKEN }}
5354 UNISON_DEBUG : timing
55+ UCM_RELEASE : ${{ matrix.ucm-release-version }}
5456 run : |
5557 apt-get update && apt-get -y install gettext-base
5658 ./run-tests.sh
Original file line number Diff line number Diff line change @@ -7,7 +7,18 @@ envsubst < cloud-tests.tpl.md > cloud-tests.md
77exit_status=0
88codebase=" $PWD /unison-code"
99
10- ucm -C " $codebase " transcript.fork --save-codebase-to " $codebase " cloud-tests.md || exit_status=$?
10+ run_transcript () {
11+ case " $UCM_RELEASE " in
12+ " release%2F0.5.25" | " release%2F0.5.41" )
13+ ucm -C " $codebase " transcript.fork --save-codebase-to " $codebase " cloud-tests.md
14+ ;;
15+ * )
16+ ucm -C " $codebase " transcript.in-place cloud-tests.md
17+ ;;
18+ esac
19+ }
20+
21+ run_transcript || exit_status=$?
1122cat cloud-tests.output.md
1223
1324exit " $exit_status "
You can’t perform that action at this time.
0 commit comments