Debugging nim-waku caching

It always builds for some reason.
This commit is contained in:
Franck Royer 2022-01-10 12:20:46 +11:00
parent 484d83a136
commit 6d5ec49e5b
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -34,7 +34,6 @@ jobs:
with:
path: |
./nim-waku/build/wakunode2
./nim-waku/vendor/rln/target/debug
key: nim-waku-build-${{ matrix.os }}-v3-${{ steps.nim-waku-head.outputs.ref }}
- name: Install NodeJS
@ -46,7 +45,13 @@ jobs:
# visibility in the CI if done as a separate step
- name: Build wakunode2
shell: bash
run: (cd nim-waku && ./build/wakunode2 --help) || npm run nim-waku:build
working-directory: ./nim-waku
continue-on-error: true
run: |
# For debug purposes
./build/wakunode2 --help
# Build nim-waku if `--help` fails
./build/wakunode2 --help || npm run nim-waku:build
- name: Ensure wakunode2 is ready
shell: bash