Skip to content

[RHELC-1037] Adds in a dependency for six for the auto-gen manpages action #14

[RHELC-1037] Adds in a dependency for six for the auto-gen manpages action

[RHELC-1037] Adds in a dependency for six for the auto-gen manpages action #14

name: Generate Manpages
on:
pull_request:
branches:
- main
jobs:
generate-manpages:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: pip install argparse-manpages
- name: Install dependencies 'six' library
run: pip install six
- name: install dependencies pexpect libry
run: pip install pexpect
- name: install dependencies rpm libry
run: pip install rpm
- name: install dependencies rpm libry
run: pip install rpm
- name: Install python3-rpm package with dnf
run: sudo dnf install -y python3-rpm
- name: Generate Manpages
run: |
chmod +x scripts/manpage_generation.sh
bash scripts/manpage_generation.sh