From 59d45be04597dbeac28df76ac2b39ef6eab0be8a Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Tue, 11 Jul 2023 17:15:42 -0700 Subject: [PATCH] add nim setup --- .github/workflows/ci-nimbus.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-nimbus.yml b/.github/workflows/ci-nimbus.yml index 94b6164..2ad69d1 100644 --- a/.github/workflows/ci-nimbus.yml +++ b/.github/workflows/ci-nimbus.yml @@ -141,13 +141,18 @@ jobs: echo "ncpu=$ncpu" >> $GITHUB_ENV echo "MAKE_CMD=${MAKE_CMD}" >> $GITHUB_ENV - - name: Restore Nim toolchain binaries from cache - id: nim-cache - uses: actions/cache@v3 + - uses: jiro4989/setup-nim-action@v1 with: - path: NimBinaries - key: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }}-${{ github.run_id }} - restore-keys: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }} + nim-version: 1.6.14 + repo-token: ${{ secrets.GITHUB_TOKEN }} + + # - name: Restore Nim toolchain binaries from cache + # id: nim-cache + # uses: actions/cache@v3 + # with: + # path: NimBinaries + # key: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }}-${{ github.run_id }} + # restore-keys: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }} # - name: Set NIM_COMMIT # shell: ${{ matrix.shell }} {0}