ci: more build improvements (for next time)

This commit is contained in:
Félix Saparelli 2024-04-21 02:11:37 +12:00
parent bb97f71c8c
commit d388a280f0
No known key found for this signature in database
1 changed files with 10 additions and 2 deletions

View File

@ -200,10 +200,18 @@ jobs:
run: ${{ matrix.cross && 'cross' || 'cargo' }} build --package watchexec-cli --release --locked --target ${{ matrix.target }}
- name: Make manpage
run: cargo run -p watchexec-cli ${{ (!matrix.cross) && '--release' || '' }} --locked -- --manual > doc/watchexec.1
run: |
cargo run -p watchexec-cli \
${{ (!matrix.cross) && '--release --target' || '' }} \
${{ (!matrix.cross) && matrix.target || '' }} \
--locked -- --manual > doc/watchexec.1
- name: Make completions
run: bin/completions ${{ (!matrix.cross) && '--release' || '' }} --locked
run: |
bin/completions \
${{ (!matrix.cross) && '--release --target' || '' }} \
${{ (!matrix.cross) && matrix.target || '' }} \
--locked
- name: Package
shell: bash