File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 77
77
filter : blob:none
78
78
persist-credentials : false
79
79
80
- - run : git rev-parse --is-inside-work-tree
81
-
82
80
- name : Create env file
83
81
run : |
84
82
echo NAVIGATION_DATA_SIGNED_URL=${{ secrets.NAVIGATION_DATA_SIGNED_URL }} >> .env
@@ -110,6 +108,10 @@ jobs:
110
108
path : targets
111
109
key : rust-targets
112
110
111
+ - run : git rev-parse --is-inside-work-tree
112
+
113
+ - run : ls -la
114
+
113
115
- name : Build WASM
114
116
run : bun run build:wasm && bun run package
115
117
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 rev-parse --is-inside-work-tree && 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