diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index a51d817..a6cbf6d 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -147,6 +147,13 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.10" + + - name: Restore cached mrtwin directory + uses: actions/cache/restore@v4 + id: cache-restore + with: + path: ~/.cache/mrtwin + key: ${{ runner.os }}-mrtwin - name: Install dependencies shell: bash -l {0} @@ -162,6 +169,13 @@ jobs: - name: Display data run: ls -R working-directory: docs_build/_static + + - name: Cache mrtwin directory + uses: actions/cache/save@v4 + if: ${{ steps.cache-restore.outputs.cache-hit != 'true' }} + with: + path: ~/.cache/mrtwin + key: ${{ runner.os }}-mrtwin - name: Upload artifact id: artifact-upload-step