You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tasks/right-size-vm.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,19 @@ See also: [Custom VM sizes](/examples/custom-vm-size/)
14
14
15
15
## Try it out
16
16
17
-
Add the following to the top of your worklflow:
18
-
19
-
```yaml
20
-
steps:
21
-
# vmmeter start
22
-
- uses: alexellis/setup-arkade@master
23
-
- uses: self-actuated/vmmeter-action@master
24
-
# vmmeter end
17
+
Add the following to the top of your workflow file:
18
+
19
+
```diff
20
+
name: ci
21
+
jobs:
22
+
my-job-1:
23
+
name: my-job-1
24
+
runs-on: actuated-4cpu-12gb
25
+
steps:
26
+
+ # vmmeter start
27
+
+ - uses: alexellis/setup-arkade@master
28
+
+ - uses: self-actuated/vmmeter-action@master
29
+
+ # vmmeter end
25
30
```
26
31
27
32
The `vmmeter-action` will run in the background and collect metrics about the job. Its *Post run action* will collect the metrics and upload them to the job's summary.
0 commit comments