This action is intended to configure Pagefile size and location for Windows images in GitHub Actions.
Argument | Description | Format | Default value |
---|---|---|---|
minimum-size |
Set minimum size of Pagefile | 2048MB , 4GB , 8GB and etc |
8GB |
maximum-size |
Set maximum size of Pagefile | The same like minimum-size |
minimum-size |
disk-root |
Set disk root where Pagefile will be located | C: or D: |
Workspace root |
name: CI
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- name: configure Pagefile
uses: elprans/configure-pagefile-action@v2
with:
minimum-size: 8GB
- name: configure Pagefile
uses: elprans/configure-pagefile-action@v2
with:
minimum-size: 8GB
maximum-size: 16GB
disk-root: "D:"
The scripts and documentation in this project are released under the MIT License