|
140 | 140 | { |
141 | 141 | "command": "github-actions.workflow.logs", |
142 | 142 | "category": "GitHub Actions", |
143 | | - "title": "View logs", |
| 143 | + "title": "View job logs", |
144 | 144 | "when": "viewItem =~ /job/", |
145 | 145 | "icon": { |
146 | 146 | "dark": "resources/icons/dark/logs.svg", |
147 | 147 | "light": "resources/icons/light/logs.svg" |
148 | 148 | } |
149 | 149 | }, |
| 150 | + { |
| 151 | + "command": "github-actions.step.logs", |
| 152 | + "category": "GitHub Actions", |
| 153 | + "title": "View step logs", |
| 154 | + "when": "viewItem =~ /step/", |
| 155 | + "icon": "$(globe)" |
| 156 | + }, |
150 | 157 | { |
151 | 158 | "command": "github-actions.workflow.run.rerun", |
152 | 159 | "category": "GitHub Actions", |
|
363 | 370 | "group": "inline", |
364 | 371 | "when": "viewItem =~ /job/ && viewItem =~ /completed/" |
365 | 372 | }, |
| 373 | + { |
| 374 | + "command": "github-actions.step.logs", |
| 375 | + "group": "inline", |
| 376 | + "when": "viewItem =~ /step/ && viewItem =~ /completed/" |
| 377 | + }, |
366 | 378 | { |
367 | 379 | "command": "github-actions.workflow.run.cancel", |
368 | 380 | "when": "viewItem =~ /run/ && viewItem =~ /cancelable/" |
|
438 | 450 | "command": "github-actions.workflow.logs", |
439 | 451 | "when": "false" |
440 | 452 | }, |
| 453 | + { |
| 454 | + "command": "github-actions.step.logs", |
| 455 | + "when": "false" |
| 456 | + }, |
441 | 457 | { |
442 | 458 | "command": "github-actions.workflow.run.rerun", |
443 | 459 | "when": "false" |
|
0 commit comments