gha: probably the most frustrating syntax in the world

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

View File

@ -200,10 +200,10 @@ 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' || '' }} --locked -- --manual > doc/watchexec.1
- name: Make completions
run: bin/completions ${{ matrix.cross && '' || '--release' }} --locked
run: bin/completions ${{ (!matrix.cross) && '--release' || '' }} --locked
- name: Package
shell: bash