Skip to content

al-cheb/configure-pagefile-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date
Feb 1, 2024
Feb 2, 2024
May 1, 2020
Feb 2, 2024
May 1, 2020
May 1, 2020
Jan 22, 2022
Feb 1, 2024
Apr 4, 2024
Feb 2, 2024
May 1, 2020

Repository files navigation

configure-pagefile-action

This action is intended to configure Pagefile size and location for Windows images in GitHub Actions.

Available parameters

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: D:

Usage

name: CI
on: [push]
jobs:
  build:
    runs-on: windows-latest
    steps:
    - name: configure Pagefile
      uses: al-cheb/[email protected]
      with:
        minimum-size: 8GB

    - name: configure Pagefile
      uses: al-cheb/[email protected]
      with:
        minimum-size: 8GB
        maximum-size: 16GB
        disk-root: "D:"

License

The scripts and documentation in this project are released under the MIT License