Skip to content

Commit

Permalink
ci: more build improvements (for next time)
Browse files Browse the repository at this point in the history
  • Loading branch information
passcod committed Apr 20, 2024
1 parent bb97f71 commit d388a28
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d388a28

Please sign in to comment.