]> git.bitcoin.ninja Git - ldk-java/commitdiff
Fix WASM CI build due to Actions being trash
authorMatt Corallo <git@bluematt.me>
Sat, 14 Jan 2023 06:33:48 +0000 (06:33 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 14 Jan 2023 19:25:48 +0000 (19:25 +0000)
.github/workflows/build.yml

index 72537f9481f559f87ab566fbeac9c27778df49b0..0e2db3fac5f632b54465bc35962358b71c6e843a 100644 (file)
@@ -47,6 +47,7 @@ jobs:
       - name: Rebuild C bindings without STD
         run: |
           cd ldk-c-bindings
+          git config --global safe.directory "*"
           ./genbindings.sh ../rust-lightning false
       - name: Build and Test TS Debug Bindings for Node
         run: |
@@ -75,6 +76,7 @@ jobs:
         run: |
           export HOME=/root/ # Github actions is apparently broken
           export PATH=$(pwd)/$(echo node-*/bin):$PATH
+          git config --global safe.directory "*"
           ./genbindings.sh ./ldk-c-bindings/ wasm true true
           cd ts
           rm liblightningjs.wasm && ln -s $(pwd)/../liblightningjs_debug.wasm ./liblightningjs.wasm