File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,7 @@ jobs:
109
109
key : rust-targets
110
110
111
111
- name : Build WASM
112
- run : |
113
- git config --global --add safe.directory /workspace
114
- bun run build:wasm && bun run package
112
+ run : bun run build:wasm && bun run package
115
113
116
114
- name : Upload WASM module to GitHub
117
115
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ await Promise.all(
110
110
-w /workspace${ relativeWorkdDir } \
111
111
-e CARGO_TARGET_DIR=/workspace/targets/${ simVersion } \
112
112
${ IMAGE_NAME } \
113
- bash -c "cargo-msfs build msfs${ simVersion } -i ./src/wasm -o ./${ relativeSimDir } /msfs_navigation_data_interface.wasm \
113
+ bash -c "git config --global --add safe.directory /workspace && cargo-msfs build msfs${ simVersion } -i ./src/wasm -o ./${ relativeSimDir } /msfs_navigation_data_interface.wasm \
114
114
1> >(sed \"s/^/[${ color } ${ simVersion } \\x1b[0m]/\") \
115
115
2> >(sed \"s/^/[${ color } ${ simVersion } \\x1b[0m]/\" >&2)"` . catch ( ( err : { exitCode ?: number ; stderr ?: Buffer } ) => {
116
116
console . error ( `[-] Error building for ${ simVersion } : ${ err . exitCode } ${ err . stderr ?. toString ( ) } ` ) ;
You can’t perform that action at this time.
0 commit comments