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

Commit 9bc9f49

Browse files
authored
Specify architectures when installing Dart (#103)
Workaround for dart-lang/setup-dart#59
1 parent 82a8b8f commit 9bc9f49

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,17 +281,23 @@ jobs:
281281
include:
282282
- runner: macos-latest
283283
platform: macos-x64
284+
architecture: x64
284285
- runner: self-hosted
285286
platform: macos-arm64
287+
architecture: arm64
286288
- runner: windows-latest
287289
platform: windows
290+
architecture: x64
288291

289292
steps:
290293
- uses: actions/checkout@v3
291294
- uses: actions/download-artifact@v3
292295
with:
293296
name: embedded-protocol
294297
- uses: dart-lang/setup-dart@v1
298+
# Workaround for dart-lang/setup-dart#59
299+
with:
300+
architecture: ${{ matrix.architecture }}
295301
- run: dart pub get
296302
- name: Deploy
297303
run: dart run grinder pkg-github-${{ matrix.platform }}

0 commit comments

Comments
 (0)