Skip to content

Commit

Permalink
Use runner.os for macOS too
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Nov 8, 2023
1 parent 33aa967 commit 4a1a1d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
Expand Down

0 comments on commit 4a1a1d5

Please sign in to comment.