diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ddcf41f3a..41764c96eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -240,12 +240,15 @@ jobs: with: path: node_modules key: ${{ runner.os }}-cache-node-modules-${{ hashFiles('**/package-lock.json') }} + - name: Get Chrome version + id: chrome_version + run: echo "::set-output name=version::$(google-chrome-stable --version)" - name: Cache Cypress installation uses: actions/cache@v3 id: restore-cypress with: path: ~/.cache/Cypress - key: ${{ runner.os }}-cache-cypress-${{ hashFiles('**/package-lock.json') }} + key: ${{ runner.os }}-${{ steps.chrome_version.outputs.version }}-cache-cypress-${{ hashFiles('**/package-lock.json') }} - name: Cache Virtual Environment uses: actions/cache@v3 id: python-dependencies