cache
cache copied to clipboard
gzip: stdin: not in gzip format. ( Cache restore not working)
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
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 }}-venvError: 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
Pasos para reproducir el 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 }}-venvError: 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 ***Nota: se crea la caché pero falla la restauración
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 }}-venvError: 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