This action adds repo-add
and repo-remove
commands to work with pacman db without pacman dependency. Here is the documentation for this tool.
Example:
jobs:
example:
runs-on: ubuntu-latest
name: Example
steps:
- uses: actions/checkout@v4
- uses: termux-pacman/pacman-tool-repo@v2.1
- run: |
repo-add --help
repo-remove --help