Fix cond in integration test CI

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-23 20:40:24 +10:00
parent bdef2169a3
commit 272d049cf6
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -93,14 +93,14 @@ jobs:
- name: Build debug
uses: actions-rs/cargo@v1
if: ${{ ! startsWith(github.ref, 'refs/tags/v') && matrix.use-cross == 'false' }}
if: ${{ ! startsWith(github.ref, 'refs/tags/v') && matrix.use-cross }}
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') && matrix.use-cross == 'true' }}
if: ${{ ! startsWith(github.ref, 'refs/tags/v') && matrix.use-cross }}
with:
command: build
args: --target ${{ matrix.target }} --no-default-features --features rustls