From 126fd65e030317fa21a7b633fdabbb398c5b4522 Mon Sep 17 00:00:00 2001 From: Jorrit Salverda Date: Fri, 12 Apr 2024 10:20:16 +0200 Subject: [PATCH] fix if statements for installing apt dependencies --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 009278c..932f943 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,13 +42,13 @@ jobs: - run: | sudo apt-get install --assume-yes --no-install-recommends \ libudev-dev - if: matrix.platform.os == 'amd64' + if: matrix.platform.name == 'amd64' - run: | sudo apt-get install --assume-yes --no-install-recommends \ libudev-dev \ g++-aarch64-linux-gnu \ libc6-dev-arm64-cross - if: matrix.platform.os == 'arm64' + if: matrix.platform.name == 'arm64' - run: cargo clippy --no-deps -- --deny "warnings" - name: Build binary uses: houseabsolute/actions-rust-cross@v0