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
so it's suggested you keep your drive size below that limit, or you may encounter errors.
63
74
75
+
You can use PowerShell built in [Numeric Literals](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_numeric_literals)
76
+
functionality to automatically expand expressions like `1GB` to mean `1073741824`.
77
+
64
78
### *drive-format*
65
79
66
-
The format of the drive, by default `ReFS` but it can be any of `FAT, FAT32, exFAT, NTFS, ReFS`
80
+
The format of the drive, by default `ReFS` but it can be any of `FAT`, `FAT32`, `exFAT`, `NTFS`, `ReFS`
67
81
as provided by [Format-Volume](https://learn.microsoft.com/en-us/powershell/module/storage/format-volume).
68
82
69
83
### *drive-path*
70
84
71
-
The path to the dev drive VHDX file, defaults to the relative path `dev_drive.vhdx`.
85
+
The path to the dev drive VHDX file, defaults to the relative path `dev_drive.vhdx` under the
86
+
current system root.
72
87
73
88
When a relative path is provided, it will be relative to `C:\`, `D:\` or the default
74
89
workspace drive letter on the runner. Hence, `dev_drive.vhdx` will likely resolve to
@@ -80,6 +95,8 @@ in such scenarios.
80
95
81
96
### *drive-type*
82
97
98
+
By default, this option is set to `Dynamic`.
99
+
83
100
Determines the type of drive, `Fixed` or `Dynamic`. There are performance tradeoffs between
84
101
both. For the purposes of this action `Dynamic` is used by default for flexibility.
85
102
@@ -90,7 +107,7 @@ payload to cache when the job ends.
90
107
91
108
### *mount-path*
92
109
93
-
By default, this option is not set.
110
+
By default, this option is not set and defaults to a new arbitrary drive letter such as `E:`.
94
111
95
112
Mounts the dev drive at the specified `mount-path` location. This option can be
96
113
useful when you want to mount your dev drive inside the GitHub workspace via
@@ -112,12 +129,16 @@ your mount path is outside `${{ github.workspace }}`.
112
129
113
130
### *mount-if-exists*
114
131
132
+
By default, this option is set to `false`.
133
+
115
134
Mounts the dev drive if it already exists at `drive-path` location. When it does not exist,
116
135
it will fall back to creating one at that location instead. This is useful when your workflow
117
136
caches the dev drive for further use in other jobs via `actions/cache`.
118
137
119
138
### *workspace-copy*
120
139
140
+
By default, this option is set to `false`.
141
+
121
142
This copies `${{ github.workspace }}` to your dev drive. Usually when you use `actions/checkout`
122
143
it creates a shallow copy of your commit to `${{ github.workspace }}`. When `workspace-copy`
123
144
is set to `true`, this action will copy your workspace into your dev drive allowing you move
@@ -129,6 +150,14 @@ See [actions/checkout#197](https://github.com/actions/checkout/issues/197).
129
150
This option is compatible with `mount-path` as long as the mount path is not directly located inside your
0 commit comments