File tree 3 files changed +30
-4
lines changed
3 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 41
41
else
42
42
echo "Tarantool version is $T, as expected"
43
43
fi
44
+
45
+ test-concurrency :
46
+ strategy :
47
+ fail-fast : false
48
+ matrix :
49
+ runs-on : [ubuntu-20.04, ubuntu-20.04, ubuntu-20.04]
50
+ runs-on : ${{ matrix.runs-on }}
51
+ steps :
52
+ - uses : actions/checkout@v2
53
+ - name : Setup Tarantool
54
+ uses : ./
55
+ with :
56
+ tarantool-version : ' 1.10'
57
+ cache-key : test-concurrency-${{ github.run_id }}
Original file line number Diff line number Diff line change @@ -3472,8 +3472,14 @@ async function run_linux() {
3472
3472
await io.cp(f, dest);
3473
3473
}
3474
3474
}
3475
- await cache.saveCache([cache_dir], cache_key);
3476
- core.info(`Cache saved with key: ${cache_key}`);
3475
+ try {
3476
+ await cache.saveCache([cache_dir], cache_key);
3477
+ core.info(`Cache saved with key: ${cache_key}`);
3478
+ }
3479
+ catch (error) {
3480
+ core.warning(error.message);
3481
+ core.warning(`Saving cache failed, but it's not crucial`);
3482
+ }
3477
3483
await io.rmRF(cache_dir);
3478
3484
}
3479
3485
catch (error) {
Original file line number Diff line number Diff line change @@ -107,8 +107,14 @@ async function run_linux(): Promise<void> {
107
107
}
108
108
}
109
109
110
- await cache . saveCache ( [ cache_dir ] , cache_key )
111
- core . info ( `Cache saved with key: ${ cache_key } ` )
110
+ try {
111
+ await cache . saveCache ( [ cache_dir ] , cache_key )
112
+ core . info ( `Cache saved with key: ${ cache_key } ` )
113
+ } catch ( error ) {
114
+ core . warning ( error . message )
115
+ core . warning ( `Saving cache failed, but it's not crucial` )
116
+ }
117
+
112
118
await io . rmRF ( cache_dir )
113
119
} catch ( error ) {
114
120
core . setFailed ( error . message )
You can’t perform that action at this time.
0 commit comments