Skip to content

Commit 1475290

Browse files
committed
fix workflow, again
1 parent 127d0d8 commit 1475290

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/SwitchBuild.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ jobs:
6262
haxelib --global --always --quiet install hxcpp
6363
echo =========
6464
65-
pushd compiler_source
65+
cd compiler_source
6666
6767
echo === BUILDING HaxeNXCompiler ===
6868
haxe build.hxml
6969
echo =========
7070
7171
mv export/HaxeNXCompiler ../HaxeNXCompiler
72-
popd
72+
cd ..
7373
7474
chmod +x HaxeNXCompiler
7575
@@ -90,19 +90,18 @@ jobs:
9090
haxelib --always --quiet git vupxengine https://github.com/Slushi-Github/Vupx-Engine.git
9191
echo =========
9292
93-
echo === SETUP HXCPP ===
94-
pushd .haxelib/hxcpp/git/tools/hxcpp
93+
echo === SETUP CUSTOM HXCPP ===
94+
cd .haxelib/hxcpp/git/tools/hxcpp
9595
haxe compile.hxml
96-
popd
96+
cd ../../../../../../..
9797
echo =========
9898
99-
echo === COMPILING PROJECT WITH HAXENXCOMPILER ===
99+
echo === COMPILING PROJECT===
100100
../../HaxeNXCompiler --compile
101101
echo =========
102102
103103
- name: Verify Build Success
104104
run: |
105-
# Check if .nro file exists
106105
if ! ls examples/ProjectExample/output/SwitchFiles/*.nro 1> /dev/null 2>&1; then
107106
echo "::error::.nro file not found."
108107
exit 1

0 commit comments

Comments
 (0)