Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Specify architectures when installing Dart #103

Merged
merged 2 commits into from
Aug 3, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,17 +281,23 @@ jobs:
include:
- runner: macos-latest
platform: macos-x64
architecture: x64
- runner: self-hosted
platform: macos-arm64
architecture: arm
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be arm64?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, you're totally right!

- runner: windows-latest
platform: windows
architecture: x64

steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: embedded-protocol
- uses: dart-lang/setup-dart@v1
# Workaround for dart-lang/setup-dart#59
with:
architecture: ${{ matrix.architecture }}
- run: dart pub get
- name: Deploy
run: dart run grinder pkg-github-${{ matrix.platform }}
Expand Down