Skip to content

actionhippie/swap-space

Repository files navigation

swap-space

Current Tag Testing Build

GitHub Action to resize or create swap space.

Usage

name: Example

on:
  - push
  - pull_request

jobs:
  test:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - uses: actionhippie/swap-space@v1
        with:
          size: 10G

Inputs

size

Swap size in fallocate format, defaults to 10G

path

Swap path if no swap exists, defaults to /swapfile

Outputs

None

Security

If you find a security issue please contact thomas@webhippie.de first.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

Apache-2.0

Copyright

Copyright (c) 2023 Thomas Boerger <thomas@webhippie.de>