Skip to content

Commit

Permalink
Make sure to target different versions of rust for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteAsian123 committed Jun 11, 2024
1 parent ee41626 commit a5d3bfc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
node-version: 16
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
Expand Down

0 comments on commit a5d3bfc

Please sign in to comment.