Skip to content

Commit

Permalink
Use regular cargo for completion generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharparam committed Aug 20, 2023
1 parent 11b3389 commit 2f1c006
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ jobs:
- name: Generate completions
run: |
mkdir -p target/assets/completion
${{ env.CARGO }} run --release --package facti -- completion zsh > target/assets/completion/_facti
${{ env.CARGO }} run --release --package facti -- completion bash > target/assets/completion/facti.bash
${{ env.CARGO }} run --release --package facti -- completion fish > target/assets/completion/facti.fish
${{ env.CARGO }} run --release --package facti -- completion powershell > target/assets/completion/_facti.ps1
cargo run --release --package facti -- completion zsh > target/assets/completion/_facti
cargo run --release --package facti -- completion bash > target/assets/completion/facti.bash
cargo run --release --package facti -- completion fish > target/assets/completion/facti.fish
cargo run --release --package facti -- completion powershell > target/assets/completion/_facti.ps1
- name: Strip release binary (linux, macos)
if: matrix.build == 'linux' || matrix.build == 'macos'
run: strip "${{ env.TARGET_DIR}}/release/facti"
Expand Down

0 comments on commit 2f1c006

Please sign in to comment.