chore: fix FFI CI build
@@ -8,6 +8,8 @@ rustc --version
cargo install --force cbindgen
rm -rf ./include
+rustup toolchain install nightly-2022-12-01
+
echo -------------------------------------
echo - Build library with CMake
echo -------------------------------------
@@ -17,9 +19,6 @@ cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build . -v
cd ..
-
-rustup toolchain install nightly-2022-12-01
-
echo -------------------------------------
echo - Generate header with cbindgen
echo -------------------------------------
