Skip to content

gzip: stdin: not in gzip format. ( Cache restore not working) #1596

Open
@VinothKanna007

Description

@VinothKanna007

Steps to reproduce error

name: Caching venv

on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Cache venv
      id: cache-venv
      uses: actions/cache@v4
      with:
        path: .venv
        key: ${{ runner.os }}-venv

Test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: restore Cache venv
      id: cache-venv-restore
      uses: actions/cache/restore@v4
      with:
        path: .venv
        key: ${{ runner.os }}-venv


Error:
gzip: stdin not in gzip format
Child returned status 1
Warning: failed to restore failed with exit code 2
Cache not found for input keys ***

Note: cache is created but restore fails

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions