File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -694,15 +694,15 @@ const ci = {
694694 env : { CARGO_PROFILE_DEV_DEBUG : 0 } ,
695695 } ,
696696 // Uncomment for remote debugging
697- // {
698- // name: "Setup tmate session",
699- // if: [
700- // "(matrix.job == 'test' || matrix.job == 'bench') &&",
701- // "matrix.profile == 'release ' && (matrix.use_sysroot ||",
702- // "github.repository == 'denoland/deno')",
703- // ].join("\n"),
704- // uses: "mxschmitt/action-tmate@v3",
705- // },
697+ {
698+ name : "Setup tmate session" ,
699+ if : [
700+ "(matrix.job == 'test' || matrix.job == 'bench') &&" ,
701+ "matrix.profile == 'debug ' && (matrix.os == 'macos' ||" ,
702+ "github.repository == 'denoland/deno')" ,
703+ ] . join ( "\n" ) ,
704+ uses : "mxschmitt/action-tmate@v3" ,
705+ } ,
706706 {
707707 name : "Build release" ,
708708 if : [
Original file line number Diff line number Diff line change @@ -393,6 +393,12 @@ jobs:
393393 run : cargo build --locked --all-targets --features=panic-trace
394394 env :
395395 CARGO_PROFILE_DEV_DEBUG : 0
396+ - name : Setup tmate session
397+ if : |-
398+ !(matrix.skip) && ((matrix.job == 'test' || matrix.job == 'bench') &&
399+ matrix.profile == 'debug' && (matrix.os == 'macos' ||
400+ github.repository == 'denoland/deno'))
401+ uses : mxschmitt/action-tmate@v3
396402 - name : Build release
397403 if : |-
398404 !(matrix.skip) && ((matrix.job == 'test' || matrix.job == 'bench') &&
You can’t perform that action at this time.
0 commit comments