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:
109109 key : rust-targets
110110
111111 - 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
115113
116114 - name : Upload WASM module to GitHub
117115 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ await Promise.all(
110110 -w /workspace${ relativeWorkdDir } \
111111 -e CARGO_TARGET_DIR=/workspace/targets/${ simVersion } \
112112 ${ 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 \
114114 1> >(sed \"s/^/[${ color } ${ simVersion } \\x1b[0m]/\") \
115115 2> >(sed \"s/^/[${ color } ${ simVersion } \\x1b[0m]/\" >&2)"` . catch ( ( err : { exitCode ?: number ; stderr ?: Buffer } ) => {
116116 console . error ( `[-] Error building for ${ simVersion } : ${ err . exitCode } ${ err . stderr ?. toString ( ) } ` ) ;
You can’t perform that action at this time.
0 commit comments