https://github.com/actionhippie/swap-space
Action to resize or create swap space
https://github.com/actionhippie/swap-space
action github
Last synced: 4 months ago
JSON representation
Action to resize or create swap space
- Host: GitHub
- URL: https://github.com/actionhippie/swap-space
- Owner: actionhippie
- License: apache-2.0
- Created: 2023-09-06T08:40:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-10-02T17:04:25.000Z (4 months ago)
- Last Synced: 2025-10-02T19:08:22.137Z (4 months ago)
- Topics: action, github
- Language: Nix
- Size: 78.1 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# swap-space
[](https://github.com/actionhippie/swap-space) [](https://github.com/actionhippie/swap-space/actions/workflows/testing.yml)
[GitHub Action](https://github.com/features/actions) to resize or create swap space.
## Usage
```yml
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
* [Thomas Boerger](https://github.com/tboerger)
## License
Apache-2.0
## Copyright
```console
Copyright (c) 2023 Thomas Boerger
```