This GitHub action installs additional GAP packages.
The action install-pkg
has to be called by the workflow of a GAP
package.
It installs the package(s) using PackageMaker. (TODO: link)
This package is intended to replace the gap-pkgs-to-clone
input, though with some
notable changes. PackageManager will also build the package, and install other
packages if needed.
The following input is mandatory:
packages
:- Space-separated or newline-separated list of packages to install.
Can be the name of the package, the link to a git repo (ending in
.git'
'), or the link to a release archive. - default:
'true'
- Space-separated or newline-separated list of packages to install.
Can be the name of the package, the link to a git repo (ending in
The following inputs are all optional:
ignore-errors
:- Ignore errors raised by PackageManager. Can be of use when it fails to build documentation that you don't need anyway.
- default:
'false'
use-latex
:- Install and use LaTeX (only works on Linux).
- default:
'false'
- EVERYTHING
See below for a minimal example to run this action.
name: CI
# Trigger the workflow on push or pull request
on:
push:
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: gap-actions/setup-gap@v3
- uses: gap-actions/install-pkg@v1
with:
packages: 'example'
Please submit bug reports, suggestions for improvements and patches via the issue tracker.
The action install-pkg
is free software; you can redistribute
and/or modify it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License, or (at your
opinion) any later version. For details, see the file LICENSE
distributed
with this action or the FSF's own site.