Skip to content

Commit

Permalink
ci: Run macos builds on the correct architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillespie committed Feb 14, 2025
1 parent 16b4cea commit c7948a2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ jobs:
- name: Install GHC and Cabal
uses: input-output-hk/actions/devx@latest
with:
platform: ${{ matrix.os == 'ubuntu-latest' && 'x86_64-linux' || 'x86_64-darwin' }}
platform:
${{ (runner.os == 'Linux' && 'x86_64-linux') ||
(runner.os == 'macOS' && runner.arch == 'X64' && 'x86_64-darwin') ||
(runner.os == 'macOS' && runner.arch == 'ARM64' && 'aarch64-darwin')
}}
target-platform: ""
compiler-nix-name: ${{ matrix.compiler-nix-name }}
minimal: false
Expand Down

0 comments on commit c7948a2

Please sign in to comment.