diff --git a/.github/workflows/build-and-integration-tests.yml b/.github/workflows/build-and-integration-tests.yml index dd50ca78..e8cdd5c0 100644 --- a/.github/workflows/build-and-integration-tests.yml +++ b/.github/workflows/build-and-integration-tests.yml @@ -93,14 +93,14 @@ jobs: - name: Build debug uses: actions-rs/cargo@v1 - if: ${{ ! startsWith(github.ref, 'refs/tags/v') && use-cross == 'false' }} + if: ${{ ! startsWith(github.ref, 'refs/tags/v') && matrix.use-cross == 'false' }} with: command: build args: --target ${{ matrix.target }} --no-default-features --features pkg-config,native-tls - name: Build debug with cross compilation uses: actions-rs/cargo@v1 - if: ${{ ! startsWith(github.ref, 'refs/tags/v') && use-cross == 'true' }} + if: ${{ ! startsWith(github.ref, 'refs/tags/v') && matrix.use-cross == 'true' }} with: command: build args: --target ${{ matrix.target }} --no-default-features --features rustls