Skip to content

Commit

Permalink
fix: Add x86_64-apple-darwin and aarch64-apple-darwin to rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
richiemcilroy committed May 24, 2024
1 parent 39f1dcb commit f4bfac4
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,7 @@ jobs:
cap-desktop-release:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
include:
- platform: "macos-latest"
args: "--target universal-apple-darwin"
runs-on: ${{ matrix.platform }}
env:
ARCHFLAGS: "-arch x86_64 -arch arm64"
runs-on: macos-latest

steps:
- name: Checkout repository
Expand All @@ -27,6 +19,8 @@ jobs:

- name: Rust setup
uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-apple-darwin, aarch64-apple-darwin

- name: Rust cache
uses: swatinem/rust-cache@v2
Expand Down Expand Up @@ -77,6 +71,7 @@ jobs:
APPLE_API_KEY_PATH: api.p8
with:
projectPath: apps/desktop
args: --target universal-apple-darwin
tagName: cap-v__VERSION__
releaseName: "Cap v__VERSION__"
releaseBody: "The latest version of Cap."
Expand Down

1 comment on commit f4bfac4

@vercel
Copy link

@vercel vercel bot commented on f4bfac4 May 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.