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:
Dean Eigenmann 2020-07-22 13:56:23 +02:00 committed by GitHub
parent 7227a4ecc5
commit 65300d2d45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

@ -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: