From 670c29ab8685e0cb16feb5c0df6348be51eb58c3 Mon Sep 17 00:00:00 2001 From: Przemek Rzad Date: Thu, 8 Aug 2024 09:10:39 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2bef22c..c278515 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - name: Rust compilation prerequisites (Ubuntu) - if: contains("${{ matrix.os }}", "ubuntu") + if: contains(matrix.os, "ubuntu") run: | sudo apt update sudo apt install -y \ @@ -30,12 +30,12 @@ jobs: rustup component add rustfmt clippy rust-src - name: Install Cargo (MacOS) - if: contains("${{ matrix.os }}", "macos") + if: contains(matrix.os, "macos") run: curl https://sh.rustup.rs -sSf | sh # We've run into out-of-disk error when compiling Polkadot in the next step, so we free up some space this way. - name: Free Disk Space (Ubuntu) - if: contains("${{ matrix.os }}", "ubuntu") + if: contains(matrix.os, "ubuntu") uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # 1.3.1 with: android: true # This alone is a 12 GB save. @@ -72,7 +72,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: brew install docker - if: contains("${{ matrix.os }}", "macos") + if: contains(matrix.os, "macos") # We've run into out-of-disk error when compiling Polkadot in the next step, so we free up some space this way. - name: Free Disk Space (Ubuntu)