From c306f37fa6d8e6c66abed81dc6053a2496141173 Mon Sep 17 00:00:00 2001 From: Ivan FB Date: Mon, 30 Mar 2026 22:22:39 +0200 Subject: [PATCH] install nimble 0.20.1 in ci through setup-nimble-action --- .github/actions/install_nim/action.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/actions/install_nim/action.yml b/.github/actions/install_nim/action.yml index 558ef3eeb..c49402216 100644 --- a/.github/actions/install_nim/action.yml +++ b/.github/actions/install_nim/action.yml @@ -64,10 +64,8 @@ runs: QUICK_AND_DIRTY_COMPILER=1 QUICK_AND_DIRTY_NIMBLE=1 CC=gcc \ bash build_nim.sh nim csources dist/nimble NimBinaries - - name: Install Nimble v0.20.1 - shell: ${{ inputs.shell }} - if: ${{ steps.nim-cache.outputs.cache-hit != 'true' }} - run: | - git clone --depth 1 --branch v0.20.1 https://github.com/nim-lang/nimble dist/nimble-0.20.1 - cd dist/nimble-0.20.1 - nim c -d:release -o:../../nim/bin/nimble src/nimble + - name: Install Nimble (pinned) + uses: nim-lang/setup-nimble-action@v1 + with: + nimble-version: '0.20.1' + repo-token: ${{ secrets.GITHUB_TOKEN }}