File tree Expand file tree Collapse file tree 3 files changed +30
-4
lines changed Expand file tree Collapse file tree 3 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 4141 else
4242 echo "Tarantool version is $T, as expected"
4343 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() {
34723472 await io.cp(f, dest);
34733473 }
34743474 }
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+ }
34773483 await io.rmRF(cache_dir);
34783484 }
34793485 catch (error) {
Original file line number Diff line number Diff line change @@ -107,8 +107,14 @@ async function run_linux(): Promise<void> {
107107 }
108108 }
109109
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+
112118 await io . rmRF ( cache_dir )
113119 } catch ( error ) {
114120 core . setFailed ( error . message )
You can’t perform that action at this time.
0 commit comments