Fix integration test: Copy from debug for PR

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-14 21:41:32 +10:00
parent 2936f2c3f1
commit 9f914a3c84
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -103,8 +103,13 @@ jobs:
use-cross: ${{ matrix.use-cross }}
- name: Copy and rename utility
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: cp target/${{ matrix.target }}/release/${{ matrix.output }} ${{ matrix.output }}
- name: Copy and rename utility
if: ${{ ! startsWith(github.ref, 'refs/tags/v') }}
run: cp target/${{ matrix.target }}/debug/${{ matrix.output }} ${{ matrix.output }}
- name: Test (Unix)
if: ${{ matrix.test && matrix.os != 'windows-latest' }}
run: ./ci-scripts/run_tests_unix.sh ${{ matrix.output }}