mirror of https://github.com/waku-org/nwaku.git
fix/github-actions-submodules (#71)
* Update test.yml * Update test.yml * Update test.yml * Update test.yml * Update test.yml * Update test.yml
This commit is contained in:
parent
7227a4ecc5
commit
65300d2d45
|
@ -23,6 +23,14 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# We need to do this because of how github cache works
|
||||
# I am not sure we can move the cache file, so if we do not do this
|
||||
# make update breaks because the cached compiler is there where the submodules
|
||||
# are meant to go.
|
||||
- name: Submodules
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
|
||||
- name: Cache nim
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
|
@ -58,6 +66,14 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# We need to do this because of how github cache works
|
||||
# I am not sure we can move the cache file, so if we do not do this
|
||||
# make update breaks because the cached compiler is there where the submodules
|
||||
# are meant to go.
|
||||
- name: Submodules
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
|
||||
- name: Cache nim
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue