Skip to content

Commit e5c35d9

Browse files
committed
chore: cleanup builds
1 parent aaef3a2 commit e5c35d9

File tree

3 files changed

+202
-350
lines changed

3 files changed

+202
-350
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@ jobs:
6464
cd scripts
6565
python gen_build.py
6666
cd ../src
67-
build.bat -c deploy
68-
cd ..
69-
if not exist pilotlight/pilotlight.pyd exit 1
67+
call build.bat -c deploy
68+
if %ERRORLEVEL% NEQ 0 exit 1
7069
7170
- name: Build Wheel
7271
shell: cmd
@@ -140,9 +139,7 @@ jobs:
140139
python3 gen_build.py
141140
cd ../src
142141
chmod +x build.sh
143-
./build.sh -c deploy
144-
cd ..
145-
test -f ./pilotlight/pilotlight.so || exit 1
142+
./build.sh -c deploy || exit 1
146143
147144
- name: Build Wheel
148145
run: |
@@ -205,9 +202,7 @@ jobs:
205202
python3 gen_build.py
206203
cd ../src
207204
chmod +x build.sh
208-
./build.sh -c deploy
209-
cd ..
210-
test -f ./pilotlight/pilotlight.so || exit 1
205+
./build.sh -c deploy || exit 1
211206
212207
- name: Build Wheel
213208
run: |

0 commit comments

Comments
 (0)