From 0fcdda9ac40f882da29543991225dc025126a265 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 3 Oct 2023 22:35:30 -0700 Subject: [PATCH] cirrus: merge only_if condition --- .cirrus.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index e8f219366..121aa95cc 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -39,7 +39,7 @@ task: task: name: ubuntu-22.04-arm - only_if: $CIRRUS_REPO_OWNER == 'wez' + only_if: "$CIRRUS_REPO_OWNER == 'wez' && changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock')" arm_container: image: ubuntu:22.04 cpu: 4 @@ -48,7 +48,6 @@ task: GITHUB_TOKEN: ENCRYPTED[23bd9513fa7174e74eaddce6a3099cabb22118423591553b23518e8c34bf155e07c559838b1d3422f561c73c1e31e6fc] stateful: false - only_if: "changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock')" install_rust_script: - echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections - apt update