Build nim-waku if the binary cannot be executed

This commit is contained in:
Franck Royer 2021-03-26 14:35:18 +11:00
parent 162228150a
commit 9a5acdc4ea
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 1 additions and 2 deletions

View File

@ -35,9 +35,8 @@ jobs:
# This would have been done part of npm pretest but it gives better
# visibility in the CI if done as a separate step
- name: Build wakunode2
if: steps.cache-nim-waku.outputs.cache-hit != 'true'
shell: bash
run: cd nim-waku && make wakunode2
run: cd nim-waku && ./build/wakunode2 --help || make wakunode2
- name: Ensure wakunode2 is ready
shell: bash