Install lzma, bzip & zstd only on debug build in integration test CI

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-23 19:42:18 +10:00
parent 3dbec7718d
commit c2349a15cb
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -80,7 +80,7 @@ jobs:
run: sudo apt-get install -y musl-tools
- name: Install liblzma-dev, libzip-dev and libzstd-dev
if: ${{ startsWith(matrix.target, 'x86_64-unknown-linux-') }}
if: ${{ startsWith(matrix.target, 'x86_64-unknown-linux-') && !startsWith(github.ref, 'refs/tags/v') }}
run: |
sudo apt update
sudo apt install -y --no-install-recommends liblzma-dev libzip-dev libzstd-dev