Skip to content

Commit

Permalink
windows runner hack (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
dantmnf committed Apr 24, 2023
1 parent 9b2662a commit ce4482d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,17 @@ jobs:
mkdir C:\MaaDeps
rmdir MaaDeps
mklink /j MaaDeps C:\MaaDeps
wmic computersystem set AutomaticManagedPagefile=false
wmic pagefileset where name="D:\\pagefile.sys" set InitialSize=8192,MaximumSize=14000
dism /Online /Disable-Feature /FeatureName:Windows-Defender /Remove /NoRestart /Quiet
cd .
- name: Windows runner hack (2)
if: runner.os == 'Windows'
uses: al-cheb/[email protected]
with:
minimum-size: 16GB
maximum-size: 16GB
disk-root: "D:"

- uses: actions/checkout@v3
with:
submodules: "recursive"
Expand Down

0 comments on commit ce4482d

Please sign in to comment.