diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml index 1b91d2a..7b265a1 100644 --- a/.github/workflows/release-cli.yml +++ b/.github/workflows/release-cli.yml @@ -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