This action sets up groff (GNU roff).
OS | Supported | Tools |
---|---|---|
Linux | Yes | None |
macOS | Yes | brew or bash |
Windows | No | N/A |
None
Let's try to run hello-world.roff file using the workflow below.
name: Setup groff
on: push
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fabasoad/setup-groff-action@v1
- run: groff -man -Tascii hello.roff
And you should see the following output:
HELLO(1) General Commands Manual HELLO(1)
NAME
hello - print Hello, World!
SYNOPSIS
hello
DESCRIPTION
The hello command prints "Hello, World!" to the standard output.
EXAMPLES
hello
Hello, World!
Hello Manual June 2024 HELLO(1)