cabal: Bump version to 0.17.2.9 #126
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate manpage | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone project | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
set -ex | |
sudo apt install -y pandoc | |
- name: Generate manpage | |
run: | | |
set -ex | |
for d in /opt/ghc/*/bin; do PATH="$d:$PATH"; break; done | |
make -B -C man | |
- name: Commit/push if changed | |
run: | | |
set -ex | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git diff --quiet --exit-code && exit | |
git commit -a -m 'man: Update' | |
git push |