diff --git a/.github/workflows/build-and-integration-tests.yml b/.github/workflows/build-and-integration-tests.yml index 3121a336..e94bd47c 100644 --- a/.github/workflows/build-and-integration-tests.yml +++ b/.github/workflows/build-and-integration-tests.yml @@ -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 }}