Skip to content

Commit 120e7fc

Browse files
committed
ci: debugging
1 parent f4819a4 commit 120e7fc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ jobs:
7777
filter: blob:none
7878
persist-credentials: false
7979

80-
- run: git rev-parse --is-inside-work-tree
81-
8280
- name: Create env file
8381
run: |
8482
echo NAVIGATION_DATA_SIGNED_URL=${{ secrets.NAVIGATION_DATA_SIGNED_URL }} >> .env
@@ -110,6 +108,10 @@ jobs:
110108
path: targets
111109
key: rust-targets
112110

111+
- run: git rev-parse --is-inside-work-tree
112+
113+
- run: ls -la
114+
113115
- name: Build WASM
114116
run: bun run build:wasm && bun run package
115117

scripts/cargo-msfs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 rev-parse --is-inside-work-tree && 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()}`);

0 commit comments

Comments
 (0)