From d5ff2afcd9c3f10b8600f09596a1b1cedb321915 Mon Sep 17 00:00:00 2001 From: Donal Byrne Date: Fri, 16 Aug 2024 14:44:48 +0200 Subject: [PATCH] Use matrix.os --- .github/workflows/rust-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 8cc2fd0..0a4289e 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -32,7 +32,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - if: runner.os == 'ubuntu-latest' + - if: matrix.os == 'ubuntu-latest' run: | sudo apt-get install -f protobuf-compiler @@ -60,7 +60,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - if: runner.os == 'ubuntu-latest' + - if: matrix.os == 'ubuntu-latest' run: | sudo apt-get install -f protobuf-compiler - uses: taiki-e/upload-rust-binary-action@v1