Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Commit 70d4829

Browse files
committed
fix(ci): generate trusted_root.json before wasm build
1 parent c57ff29 commit 70d4829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
3636
- name: Build WASM
3737
run: |
38-
go run ./rootfetch/main.go && mv trusted_root.json wasm/
38+
go run ./rootfetch/main.go -o client/trusted_root.json
39+
cp client/trusted_root.json wasm/
3940
VERSION=${GITHUB_REF#refs/tags/}
4041
cd wasm && GOOS=js GOARCH=wasm go build \
4142
-trimpath \
@@ -50,7 +51,6 @@ jobs:
5051
5152
- name: gomobile bind
5253
run: |
53-
go run ./rootfetch/main.go -o client/trusted_root.json
5454
gomobile bind -target=ios,iossimulator,macos -o TinfoilVerifier.xcframework $(go list ./... | grep -v "/examples/" | xargs)
5555
zip -r TinfoilVerifier.xcframework.zip TinfoilVerifier.xcframework
5656

0 commit comments

Comments
 (0)