forked from github-such-software/hash-wallet
Windows CI: clone torch_dart + reown_flutter from git instead of tarball #29
29
.github/workflows/build-windows.yml
vendored
29
.github/workflows/build-windows.yml
vendored
@@ -61,32 +61,33 @@ jobs:
|
|||||||
rustc --version
|
rustc --version
|
||||||
cargo --version
|
cargo --version
|
||||||
|
|
||||||
# ---- External prebuilt deps (mirror Android + iOS workflows) ----------
|
# ---- External path-dep plugins ----------------------------------------
|
||||||
# Several plugins are path-deps in pubspec.yaml. The path directories
|
# Several plugins are path-deps in pubspec.yaml. The path directories
|
||||||
# must exist BEFORE `flutter pub get` runs against the regenerated
|
# must exist BEFORE `flutter pub get` runs against the regenerated
|
||||||
# pubspec, or pub fails with "could not find package X at <path>".
|
# pubspec, or pub fails with "could not find package X at <path>".
|
||||||
# We fetch the same prebuilt tarballs the other platforms use.
|
#
|
||||||
|
# The Android + iOS + Linux workflows use upstream-published .tar.gz
|
||||||
|
# tarballs. We don't, because those tarballs contain example/*
|
||||||
|
# symlinks pointing to absolute /home/runner/.pub-cache/ paths
|
||||||
|
# (artifacts from the upstream build host) — Linux tar tolerates
|
||||||
|
# dangling symlinks, Windows tar bails the whole extraction. Clone
|
||||||
|
# the source repos at the matching tagged versions instead. Same
|
||||||
|
# pattern as bitbox_flutter further down.
|
||||||
|
|
||||||
- name: Fetch prebuilt torch_dart
|
- name: Clone torch_dart at v1.0.17
|
||||||
run: |
|
run: |
|
||||||
set -x -e
|
set -x -e
|
||||||
pushd scripts
|
pushd scripts
|
||||||
rm -rf torch_dart torch_dart.tar.gz
|
rm -rf torch_dart
|
||||||
curl -fsSL -o torch_dart.tar.gz https://github.com/MrCyjaneK/torch_dart/releases/download/v1.0.17/torch_dart-v1.0.17.tar.gz
|
git clone --depth 1 --branch v1.0.17 https://github.com/MrCyjaneK/torch_dart
|
||||||
mkdir torch_dart
|
|
||||||
tar -xzf torch_dart.tar.gz -C torch_dart
|
|
||||||
rm torch_dart.tar.gz
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
- name: Fetch prebuilt reown_flutter
|
- name: Clone reown_flutter at v0.0.4
|
||||||
run: |
|
run: |
|
||||||
set -x -e
|
set -x -e
|
||||||
pushd scripts
|
pushd scripts
|
||||||
rm -rf reown_flutter reown_flutter.tar.gz
|
rm -rf reown_flutter
|
||||||
curl -fsSL -o reown_flutter.tar.gz https://github.com/cake-tech/reown_flutter/releases/download/v0.0.4/reown_flutter-v0.0.4.tar.gz
|
git clone --depth 1 --branch v0.0.4 https://github.com/cake-tech/reown_flutter
|
||||||
mkdir reown_flutter
|
|
||||||
tar -xzf reown_flutter.tar.gz -C reown_flutter
|
|
||||||
rm reown_flutter.tar.gz
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
- name: Clone BitBox Flutter
|
- name: Clone BitBox Flutter
|
||||||
|
|||||||
Reference in New Issue
Block a user