File tree Expand file tree Collapse file tree 2 files changed +31
-22
lines changed Expand file tree Collapse file tree 2 files changed +31
-22
lines changed Original file line number Diff line number Diff line change
1
+ name : " Setup ImDisk"
2
+ if : runner.os == 'Windows'
3
+ description : |
4
+ Sets up the ImDisk toolkit for Windows and creates a RAM disk on drive R:.
5
+ inputs :
6
+ runs :
7
+ using : " composite"
8
+ steps :
9
+ - name : Download ImDisk
10
+ if : runner.os == 'Windows'
11
+ shell : bash
12
+ run : |
13
+ mkdir imdisk
14
+ cd imdisk
15
+ curl -L -o files.cab https://github.com/coder/imdisk-artifacts/raw/92a17839ebc0ee3e69be019f66b3e9b5d2de4482/files.cab
16
+ curl -L -o install.bat https://github.com/coder/imdisk-artifacts/raw/92a17839ebc0ee3e69be019f66b3e9b5d2de4482/install.bat
17
+ cd ..
18
+
19
+ - name : Install ImDisk
20
+ shell : cmd
21
+ run : |
22
+ cd imdisk
23
+ install.bat /silent
24
+
25
+ - name : Create RAM Disk
26
+ shell : cmd
27
+ run : |
28
+ imdisk -a -s 4096M -m R: -p "/fs:ntfs /q /y"
Original file line number Diff line number Diff line change @@ -368,28 +368,9 @@ jobs:
368
368
- name : Setup Terraform
369
369
uses : ./.github/actions/setup-tf
370
370
371
- - name : Download ImDisk
372
- if : runner.os == 'Windows'
373
- shell : bash
374
- run : |
375
- mkdir imdisk
376
- cd imdisk
377
- curl -L -o files.cab https://imdisk-ci-files.pages.dev/ImDiskTk20241123/files.cab
378
- curl -L -o install.bat https://imdisk-ci-files.pages.dev/ImDiskTk20241123/install.bat
379
- cd ..
380
-
381
- - name : Install ImDisk
382
- if : runner.os == 'Windows'
383
- shell : cmd
384
- run : |
385
- cd imdisk
386
- install.bat /silent
387
-
388
- - name : Create RAM Disk
389
- if : runner.os == 'Windows'
390
- shell : cmd
391
- run : |
392
- imdisk -a -s 4096M -m R: -p "/fs:ntfs /q /y"
371
+ # Sets up the ImDisk toolkit for Windows and creates a RAM disk on drive R:.
372
+ - name : Setup ImDisk
373
+ uses : ./.github/actions/setup-imdisk
393
374
394
375
- name : Test with PostgreSQL Database
395
376
env :
You can’t perform that action at this time.
0 commit comments