From 13e01c34f82b81480fde530a6e38ec76b57f508c Mon Sep 17 00:00:00 2001 From: MahdiBM Date: Wed, 1 Jan 2025 22:44:05 +0330 Subject: [PATCH] add if: to zstd installation --- .github/workflows/run-unit-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 95ad34f..9b4e995 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -143,6 +143,7 @@ jobs: package_root: ${{ inputs.package_root }} # actions/cache will detect zstd and will become much faster. - name: Install zstd + if: ${{ steps.swift-check.outputs.swift-compatible == 'true' && (matrix.swift-config.build-mode == 'debug' || inputs.with_release_mode_testing) }} run: | apt-get update -y apt-get install -y zstd