File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 - target : aarch64-unknown-linux-gnu
2121 asset : libepic_cash_wallet-linux-aarch64.so
2222 steps :
23- - uses : actions/checkout@v4
23+ - uses : actions/checkout@v6
2424
2525 - name : Add Rust target
2626 run : rustup target add ${{ matrix.target }}
5757 - target : x86_64-linux-android
5858 abi : x86_64
5959 steps :
60- - uses : actions/checkout@v4
60+ - uses : actions/checkout@v6
6161
6262 - name : Add Rust target
6363 run : rustup target add ${{ matrix.target }}
8484 build-ios :
8585 runs-on : macos-latest
8686 steps :
87- - uses : actions/checkout@v4
87+ - uses : actions/checkout@v6
8888
8989 - uses : dtolnay/rust-toolchain@master
9090 with :
@@ -129,7 +129,7 @@ jobs:
129129 build-macos :
130130 runs-on : macos-latest
131131 steps :
132- - uses : actions/checkout@v4
132+ - uses : actions/checkout@v6
133133
134134 - uses : dtolnay/rust-toolchain@master
135135 with :
@@ -177,7 +177,7 @@ jobs:
177177 container :
178178 image : stackwallet/stackwallet-ci:latest
179179 steps :
180- - uses : actions/checkout@v4
180+ - uses : actions/checkout@v6
181181
182182 - name : Add Rust target
183183 run : rustup target add x86_64-pc-windows-gnu
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ LIB_ROOT=../..
5+ REPO=" cypherstack/flutter_libepiccash"
6+ BASE_URL=" https://github.com/${REPO} /releases/download"
7+
8+ TAG=$( git -C " $LIB_ROOT " describe --tags --exact-match HEAD 2> /dev/null) || {
9+ echo " Error: flutter_libepiccash is not at a tagged commit."
10+ echo " Pin the submodule to a release tag to use download mode."
11+ echo " Current commit: $( git -C " $LIB_ROOT " rev-parse HEAD) "
12+ exit 1
13+ }
14+
15+ TMPDIR=$( mktemp -d)
16+ trap ' rm -rf "$TMPDIR"' EXIT
17+
18+ curl -fSL " ${BASE_URL} /${TAG} /checksums.txt" -o " $TMPDIR /checksums.txt"
19+
20+ download_and_verify () {
21+ local asset=" $1 "
22+ curl -fSL " ${BASE_URL} /${TAG} /${asset} " -o " $TMPDIR /${asset} "
23+ grep " ^[0-9a-f]* ${asset} $" " $TMPDIR /checksums.txt" | (cd " $TMPDIR " && sha256sum -c)
24+ }
25+
26+ download_and_verify " EpicWallet.xcframework.zip"
27+
28+ mkdir -p " $LIB_ROOT /macos/framework"
29+ rm -rf " $LIB_ROOT /macos/framework/EpicWallet.xcframework"
30+ unzip -q " $TMPDIR /EpicWallet.xcframework.zip" -d " $TMPDIR /xcfw"
31+ cp -r " $TMPDIR /xcfw/EpicWallet.xcframework" " $LIB_ROOT /macos/framework/EpicWallet.xcframework"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ LIB_ROOT=../..
5+ REPO=" cypherstack/flutter_libepiccash"
6+ BASE_URL=" https://github.com/${REPO} /releases/download"
7+
8+ TAG=$( git -C " $LIB_ROOT " describe --tags --exact-match HEAD 2> /dev/null) || {
9+ echo " Error: flutter_libepiccash is not at a tagged commit."
10+ echo " Pin the submodule to a release tag to use download mode."
11+ echo " Current commit: $( git -C " $LIB_ROOT " rev-parse HEAD) "
12+ exit 1
13+ }
14+
15+ TMPDIR=$( mktemp -d)
16+ trap ' rm -rf "$TMPDIR"' EXIT
17+
18+ curl -fSL " ${BASE_URL} /${TAG} /checksums.txt" -o " $TMPDIR /checksums.txt"
19+
20+ download_and_verify () {
21+ local asset=" $1 "
22+ curl -fSL " ${BASE_URL} /${TAG} /${asset} " -o " $TMPDIR /${asset} "
23+ grep " ^[0-9a-f]* ${asset} $" " $TMPDIR /checksums.txt" | (cd " $TMPDIR " && sha256sum -c)
24+ }
25+
26+ download_and_verify " libepic_cash_wallet-windows-x86_64.dll"
27+
28+ mkdir -p " $LIB_ROOT /scripts/windows/build"
29+ cp " $TMPDIR /libepic_cash_wallet-windows-x86_64.dll" \
30+ " $LIB_ROOT /scripts/windows/build/libepic_cash_wallet.dll"
You can’t perform that action at this time.
0 commit comments