File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
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
+ // try {
3475
3476
await cache.saveCache([cache_dir], cache_key);
3476
3477
core.info(`Cache saved with key: ${cache_key}`);
3478
+ // } catch (error) {
3479
+ // core.info(`Saving cache failed, but it's not crucial`)
3480
+ // core.info(`Cache key was: ${cache_key}`)
3481
+ // core.info(error.message)
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,15 @@ async function run_linux(): Promise<void> {
107
107
}
108
108
}
109
109
110
+ // try {
110
111
await cache . saveCache ( [ cache_dir ] , cache_key )
111
112
core . info ( `Cache saved with key: ${ cache_key } ` )
113
+ // } catch (error) {
114
+ // core.info(`Saving cache failed, but it's not crucial`)
115
+ // core.info(`Cache key was: ${cache_key}`)
116
+ // core.info(error.message)
117
+ // }
118
+
112
119
await io . rmRF ( cache_dir )
113
120
} catch ( error ) {
114
121
core . setFailed ( error . message )
You can’t perform that action at this time.
0 commit comments