[Java] Fix PATH order to use upstream clang in OSX CI
[ldk-java] / .github / workflows / build.yml
index ac30e8453320bc5dea50c1aef3bdf8495cf35129..6b274534c8a50c6e77b1a7ba7396c9cf22ae5787 100644 (file)
@@ -359,8 +359,8 @@ jobs:
           git checkout 0.0.106
       - name: Rebuild C bindings with upstream clang, and check the sample app builds + links
         run: |
-          cd ldk-c-bindings
           export PATH=`pwd`/clang+llvm-14.0.1-x86_64-apple-darwin/bin:$PATH
+          cd ldk-c-bindings
           CC=clang ./genbindings.sh ../rust-lightning true
           cd ..
       - name: Fetch OpenJDK 16