From ff478df3c8cacf4e630a8a9ee2b4a31a325aab36 Mon Sep 17 00:00:00 2001 From: Nico Date: Wed, 17 Jul 2024 22:01:04 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2c078b5e..c4e66cda 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -144,7 +144,18 @@ jobs: - uses: iffy/install-nim@v5 with: version: binary:2.0.6 + + - name: Cache nimble modules + id: cache-nimble + uses: actions/cache@v3 + env: + cache-name: cache-nimble-modules + with: + path: ~/.nimble + key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/nimble.lock') }} + - name: nimble setup + - if: ${{ steps.cache-nimble.outputs.cache-hit != 'true' }} continue-on-error: true run: nimble setup