From 5d62adf79258d2ed8b21f76dc7acf89e10e14b8d Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Mon, 26 Jun 2023 18:21:52 -0600 Subject: [PATCH] use correct version var --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14707d7..cda2341 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,12 +147,12 @@ jobs: uses: actions/cache@v3 with: path: NimBinaries - key: ${{ inputs.os }}-${{ inputs.cpu }}-nim-${{ inputs.nim_version }}-cache-${{ env.cache_nonce }}-${{ github.run_id }} - restore-keys: ${{ inputs.os }}-${{ inputs.cpu }}-nim-${{ inputs.nim_version }}-cache-${{ env.cache_nonce }} + key: ${{ inputs.os }}-${{ inputs.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }}-${{ github.run_id }} + restore-keys: ${{ inputs.os }}-${{ inputs.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }} - name: Set NIM_COMMIT shell: ${{ inputs.shell }} {0} - run: echo "NIM_COMMIT=${{ inputs.nim_version }}" >> ${GITHUB_ENV} + run: echo "NIM_COMMIT=${{ matrix.branch }}" >> ${GITHUB_ENV} - name: Run tests run: |