Skip to content

Commit

Permalink
Merge pull request #4000 from blakep7/dev-M1-runner
Browse files Browse the repository at this point in the history
Issue #3997 - Feature Request: Actions Workflow MacOS M1 Runner
  • Loading branch information
LiilyZhang authored Feb 5, 2024
2 parents 7d1627d + 8b0f18e commit bac47be
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -352,14 +352,12 @@ jobs:
# Build our mac packages on a macOS runner
mac-build:
needs: offset-build-number

# Do not use any 'xl' version of macos or you will pay (literally)
# When mac silicon runner comes out we can update this runs-on to ${{ (matrix.architecture == 'amd64') && 'macos-12' || 'macSiliconVersion' }}
runs-on: macos-12

runs-on: ${{ (matrix.architecture == 'amd64') && 'macos-12' || 'macos-14' }}

strategy:
matrix:
architecture: ['amd64']
architecture: ['amd64', 'arm64']
platform: ['mac']

env:
Expand Down Expand Up @@ -466,7 +464,7 @@ jobs:

strategy:
matrix:
architecture: ['amd64']
architecture: ['amd64', 'arm64']
platform: ['mac']

steps:
Expand Down

0 comments on commit bac47be

Please sign in to comment.