File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+
3+ set -xe
4+
5+ id=$( gh run list -b main -w west -L 1 --json databaseId -q ' .[].databaseId' )
6+ git clean -xf lib target/artifacts
7+ gh run download -D lib -n ' passthrough' " $id "
8+ gh run download -D target/artifacts -p ' west-*' " $id "
9+ mv -v target/artifacts/west-aarch64-apple-darwin/lib/libwest_sys.a ./lib/aarch64-darwin/libwest.a
10+ mv -v target/artifacts/west-aarch64-linux-android/lib/libwest_sys.a ./lib/aarch64-android/libwest.a
11+ mv -v target/artifacts/west-aarch64-unknown-linux-musl/lib/libwest_sys.a ./lib/aarch64-linux/libwest.a
12+ mv -v target/artifacts/west-riscv64gc-unknown-linux-gnu/lib/libwest_sys.a ./lib/riscv64-linux/libwest.a
13+ mv -v target/artifacts/west-x86_64-apple-darwin/lib/libwest_sys.a ./lib/x86_64-darwin/libwest.a
14+ mv -v target/artifacts/west-x86_64-pc-windows-gnu/lib/libwest_sys.a ./lib/x86_64-windows/libwest.a
15+ mv -v target/artifacts/west-x86_64-unknown-linux-musl/lib/libwest_sys.a ./lib/x86_64-linux/libwest.a
16+ git reset
17+ git add -f lib
18+ git commit -Ss -m ' build: add build artifacts'
Original file line number Diff line number Diff line change 165165 pkgs . wit-deps
166166
167167 pkgs . pkgsUnstable . cargo-audit
168+ pkgs . pkgsUnstable . gh
168169 pkgs . pkgsUnstable . go_1_23
169170 pkgs . pkgsUnstable . wasm-tools
170171 pkgs . pkgsUnstable . wasmtime
You can’t perform that action at this time.
0 commit comments