actions / cache

Cache dependencies and build outputs in GitHub Actions
MIT License
4.45k stars 1.18k forks source link

`Cache not found for keys` after Linux runner image update to 20230217.1 #1112

Closed narumi147 closed 1 year ago

narumi147 commented 1 year ago

Yesterday, Linux runner image updated to 20230217.1, and cache could not be found.

workflow:

      - uses: actions/cache@v3
        with:
          path: ${{ env.cache_dir }}
          key: api-cache-${{ runner.os }}-${{ steps.get-date.outputs.date }}
          restore-keys: |
            api-cache-${{ runner.os }}-
            api-cache-

Output:

Cache not found for input keys: api-cache-Linux-202302180150, api-cache-Linux-, api-cache-

The cache is there and works fine one hour before runner image updating.

Links:

narumi147 commented 1 year ago

should be dup of #1110