Skip to content

thejerrybao/setup-swap-space

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

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup Swap Space

The setup-swap-space action sets up a swap space in the runner.

Usage

  • swap-space-path: The path where the swap file should be created. Default value: /mnt/swapfile.
  • swap-size-gb: The swap space size to set up in Gigabytes. Default value: 10.
  • remove-existing-swap-files: Removes all existing swap files that are enabled. Default value: true

Example

steps:
- uses: thejerrybao/setup-swap-space@v1
  with:
    swap-space-path: /swapfile
    swap-size-gb: 8
    remove-existing-swap-files: true

About

Setup swap space for Github Runners

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages