[Java] Fix PATH order to use upstream clang in OSX CI
authorMatt Corallo <git@bluematt.me>
Thu, 12 May 2022 20:08:29 +0000 (20:08 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 12 May 2022 20:18:05 +0000 (20:18 +0000)
Thanks to @tnull for spotting this one.

.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: |
           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
           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
           CC=clang ./genbindings.sh ../rust-lightning true
           cd ..
       - name: Fetch OpenJDK 16