From df5fde4e0b3b1be49d45ff9c730835d119af0085 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 7 Nov 2023 19:28:52 +0100 Subject: [PATCH] Use runner.os for macOS too --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ae73cb5f..9252bb41c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -101,8 +101,8 @@ jobs: if: ${{ runner.os == 'Linux' }} - name: Install dependencies (MacOS) run: | - brew install python3.10 - if: ${{ matrix.runner == 'macOS' }} + brew install python@3.10 + if: ${{ runner.os == 'macOS' }} - name: Install Protoc uses: arduino/setup-protoc@v2 with: @@ -121,6 +121,7 @@ jobs: ${{ matrix.packages_install }} - name: Build artifacts run: | + echo ${{ runner.os }} # Actually do builds and make zips and whatnot cargo dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json echo "cargo dist ran successfully"