mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Build cargo-binstall in debug mode for PR
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
a672f00575
commit
2936f2c3f1
1 changed files with 9 additions and 0 deletions
|
@ -88,11 +88,20 @@ jobs:
|
|||
|
||||
- name: Build release
|
||||
uses: actions-rs/cargo@v1
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
with:
|
||||
command: build
|
||||
args: --target ${{ matrix.target }} --release
|
||||
use-cross: ${{ matrix.use-cross }}
|
||||
|
||||
- name: Build debug
|
||||
uses: actions-rs/cargo@v1
|
||||
if: ${{ ! startsWith(github.ref, 'refs/tags/v') }}
|
||||
with:
|
||||
command: build
|
||||
args: --target ${{ matrix.target }}
|
||||
use-cross: ${{ matrix.use-cross }}
|
||||
|
||||
- name: Copy and rename utility
|
||||
run: cp target/${{ matrix.target }}/release/${{ matrix.output }} ${{ matrix.output }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue