@@ -229,6 +229,15 @@ jobs:
229
229
- uses : dart-lang/setup-dart@v1
230
230
- run : dart pub get
231
231
- run : dart run grinder protobuf
232
+ # We need to upload the compiled protobuf rather than recompiling it on
233
+ # other platforms because arduino/setup-protoc currently) requires Node 12
234
+ # which doesn't support ARM.
235
+ - uses : actions/upload-artifact@v3
236
+ with :
237
+ name : embedded-protocol
238
+ path : |
239
+ build/embedded-protocol
240
+ lib/src/embedded_sass.*.dart
232
241
- name : Deploy
233
242
run : dart run grinder pkg-github-release pkg-github-linux-ia32 pkg-github-linux-x64
234
243
env : {GH_BEARER_TOKEN: "${{ github.token }}"}
@@ -249,11 +258,9 @@ jobs:
249
258
250
259
steps :
251
260
- uses : actions/checkout@v2
252
- - uses : arduino/setup-protoc@v1
253
- with : { version: "${{ env.protoc_version }}", repo-token: "${{ github.token }}" }
254
- - uses : dart-lang/setup-dart@v1
255
- - run : dart pub get
256
- - run : dart run grinder protobuf
261
+ - uses : actions/download-artifact@v3
262
+ with :
263
+ name : embedded-protocol
257
264
- uses : docker/setup-qemu-action@v1
258
265
- name : Deploy
259
266
run : |
@@ -283,11 +290,11 @@ jobs:
283
290
284
291
steps :
285
292
- uses : actions/checkout@v2
286
- - uses : arduino/setup-protoc@v1
287
- with : { version: "${{ env.protoc_version }}", repo-token: "${{ github.token }}" }
293
+ - uses : actions/download-artifact@v3
294
+ with :
295
+ name : embedded-protocol
288
296
- uses : dart-lang/setup-dart@v1
289
297
- run : dart pub get
290
- - run : dart run grinder protobuf
291
298
- name : Deploy
292
299
run : dart run grinder pkg-github-${{ matrix.platform }}
293
300
env : {GH_BEARER_TOKEN: "${{ github.token }}"}
0 commit comments