From 65300d2d45663701bbd8cc02b222c5a25ee9e46c Mon Sep 17 00:00:00 2001 From: Dean Eigenmann <7621705+decanus@users.noreply.github.com> Date: Wed, 22 Jul 2020 13:56:23 +0200 Subject: [PATCH] fix/github-actions-submodules (#71) * Update test.yml * Update test.yml * Update test.yml * Update test.yml * Update test.yml * Update test.yml --- .github/workflows/test.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca49f1a3c..0e1702031 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: